VS Code can be connected to the Giotto OS model, which will allow you to leverage the capabilities of our model to in VS Code agentic coding section.
Note: The Giotto OS model can be connected to any AI-powered coding agent that supports an OpenAI-compatible backend. See Connect OpenAI-Compatible Tools to Giotto for more details.
Connecting VS Code to the Giotto OS model
Open the Command Palette (Ctrl-Shift-P / Cmd-Shift-P) and search for "Chat: Manage Language Models"
Then "Add Models..." > "OpenAI"
leave the default "Group Name"
For the "API Key" use your Giotto API key in the form my-client-id:my-client-secret (see Connect OpenAI-Compatible Tools to Giotto for more details). To get an API key, see Subscribe to get the API keys.
Now you should see something like this:
Now click the icon above the blue "Add Models..." button (see the following picture)
This will open the chatLanguageModels.json, and you should see the "OpenAI" settings.
You need to add the following settings to the list, making sure that the apiKey field is the same as the openAI setting:
{
"name": "Giotto",
"vendor": "customendpoint",
"apiKey": "${input:chat.lm.secret.589e67e6}",
"apiType": "chat-completions",
"models": [
{
"id": "giotto-alto",
"name": "Giotto Model",
"url": "https://cloud.giotto.ai/v1",
"toolCalling": true,
"vision": true,
"maxInputTokens": 100000,
"maxOutputTokens": 28000
}
]
}Now go to the "CHAT" interface
In the "Auto" button, you should now be able to see the Giotto Model
You should be ready to go and try the Giotto Model.
Comments
0 comments
Please sign in to leave a comment.