JetBrains with Continue and Keeptrusts
Continue uses the same YAML model configuration in its JetBrains and VS Code extensions.
Configure a local secret
Put the model-client token in a git-ignored Continue environment file, such as
~/.continue/.env:
KEEPTRUSTS_IDE_TOKEN=<client-api-token>
The IDE extension does not inherit an arbitrary interactive shell environment, so restart the IDE after changing this file.
Configure the model
name: Keeptrusts
version: 1.0.0
schema: v1
models:
- name: Keeptrusts Chat
provider: openai
model: gpt-5.4-mini
apiBase: http://127.0.0.1:41002/v1
apiKey: ${{ secrets.KEEPTRUSTS_IDE_TOKEN }}
roles:
- chat
- edit
- apply
Use a model returned by /v1/models. Continue's deprecated config.json
examples and generic IDE proxy settings are not part of this integration.
See Continue's config reference for the current format.
Verify
Select Keeptrusts Chat, send a request, and confirm it in
kt events tail --since 10m --follow.