Update tsconfig.json with model configurations#12441
Conversation
Added configuration for Groq Llama and Gemini models with API keys.
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
There was a problem hiding this comment.
2 issues found across 1 file
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="tsconfig.json">
<violation number="1" location="tsconfig.json:1">
P1: Non-tsconfig application model configuration was added to `tsconfig.json`, breaking the TypeScript config contract. The `models` and `tabAutocompleteModel` keys are Continue.dev runtime settings that belong in a `config.json` file, not in a `tsconfig.json` which is reserved for TypeScript compiler options. Additionally, the file uses invalid double braces (`{{` and `}}`).</violation>
<violation number="2" location="tsconfig.json:1">
P0: Invalid JSON syntax in tsconfig.json (`{{ ... }}`) will cause parse failures in TypeScript compiler, editors, and build tooling.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
| @@ -1 +1,24 @@ | |||
| {} | |||
| {{ | |||
There was a problem hiding this comment.
P0: Invalid JSON syntax in tsconfig.json ({{ ... }}) will cause parse failures in TypeScript compiler, editors, and build tooling.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At tsconfig.json, line 1:
<comment>Invalid JSON syntax in tsconfig.json (`{{ ... }}`) will cause parse failures in TypeScript compiler, editors, and build tooling.</comment>
<file context>
@@ -1 +1,24 @@
-{}
+{{
+ "models": [
+ {
</file context>
| @@ -1 +1,24 @@ | |||
| {} | |||
| {{ | |||
There was a problem hiding this comment.
P1: Non-tsconfig application model configuration was added to tsconfig.json, breaking the TypeScript config contract. The models and tabAutocompleteModel keys are Continue.dev runtime settings that belong in a config.json file, not in a tsconfig.json which is reserved for TypeScript compiler options. Additionally, the file uses invalid double braces ({{ and }}).
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At tsconfig.json, line 1:
<comment>Non-tsconfig application model configuration was added to `tsconfig.json`, breaking the TypeScript config contract. The `models` and `tabAutocompleteModel` keys are Continue.dev runtime settings that belong in a `config.json` file, not in a `tsconfig.json` which is reserved for TypeScript compiler options. Additionally, the file uses invalid double braces (`{{` and `}}`).</comment>
<file context>
@@ -1 +1,24 @@
-{}
+{{
+ "models": [
+ {
</file context>
Added configuration for Groq Llama and Gemini models with API keys.
Description
[ What changed? Feel free to be brief. ]
AI Code Review
@continue-reviewChecklist
Screen recording or screenshot
[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See this PR as a good example. ]
Tests
[ What tests were added or updated to ensure the changes work as expected? ]
Summary by cubic
Adds model configs for Groq Llama 3.3 and Gemini 1.5 Pro, and sets Groq as the tab autocomplete model using an
openai-compatible endpoint. Replaces the emptytsconfig.jsonwith these settings.New Features
modelsentries for Groq Llama 3.3 (provider:openai,apiBase: Groq) and Gemini 1.5 Pro (provider:gemini).tabAutocompleteModelto Groq Llama 3.3.Migration
Written for commit d96cd76. Summary will update on new commits. Review in cubic