Skip to content

Conversation

CWade3051
Copy link

This fixes the issue in windows that causes "Unexpected JSON character errors" causing extension to not load at all

This fixes the issue in windows that causes "Unexpected JSON character errors"
@ColinMcNeil
Copy link
Contributor

Love the change, good catch. I think we already have a method to do this, but it wasn't used here.

@ColinMcNeil
Copy link
Contributor

Hi, we will be implementing windows support fully soon. Stay tuned in the coming weeks!

@billyboyballin
Copy link

Hey @ColinMcNeil can you get this fix in. I'm using docker desktop and this extension and I can't use any tool because of the json issue. I get the following notification in my docker desktop when trying to turn on a tool

Error while executing '"C:\Program Files\Docker\Docker\resources\bin\docker.exe" run --label com.docker.desktop.extension="true" --label com.docker.compose.project=docker_labs-ai-tools-for-devs-desktop-extension --label com.docker.compose.project.config_files= --label com.docker.compose.config-hash= --rm -v docker-prompts:/docker-prompts --workdir /docker-prompts vonwig/function_write_files:latest "{ \"files\": [ { \"path\": \"registry.yaml\", \"content\": \"registry:\n curl:\n ref: github:docker/labs-ai-tools-for-devs?ref=main&path=prompts/examples/curl.md\n\" } ] }"': unquoted newlines are not allowed when executing commands through SDK APIs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants