Skip to content

Commit 186fcc7

Browse files
committed
Fix the settings schema for the test to pass
1 parent 378f6c8 commit 186fcc7

File tree

6 files changed

+2
-509
lines changed

6 files changed

+2
-509
lines changed

src/default-providers/Anthropic/settings-schema.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818
"type": "number",
1919
"description": "A maximum number of tokens to generate before stopping."
2020
},
21-
"maxTokensToSample": {
22-
"type": "number",
23-
"description": "A maximum number of tokens to generate before stopping.",
24-
"deprecated": "Use \"maxTokens\" instead."
25-
},
2621
"stopSequences": {
2722
"type": "array",
2823
"items": {
@@ -34,18 +29,10 @@
3429
"type": "boolean",
3530
"description": "Whether to stream the results or not"
3631
},
37-
"anthropicApiKey": {
38-
"type": "string",
39-
"description": "Anthropic API key"
40-
},
4132
"apiKey": {
4233
"type": "string",
4334
"description": "Anthropic API key"
4435
},
45-
"anthropicApiUrl": {
46-
"type": "string",
47-
"description": "Anthropic API URL"
48-
},
4936
"modelName": {
5037
"type": "string",
5138
"deprecated": "Use \"model\" instead"

src/default-providers/ChromeAI/settings-schema.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"type": "object",
44
"properties": {
5-
"concurrency": {
6-
"type": "number",
7-
"deprecated": "Use `maxConcurrency` instead"
8-
},
95
"topK": {
106
"type": "number"
117
},

src/default-providers/Gemini/settings-schema.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@
3838
"description": "Model name to use (e.g., gemini-pro, gemini-2.0-flash, etc.)",
3939
"default": "gemini-pro"
4040
},
41-
"baseURL": {
42-
"type": "string",
43-
"description": "Base URL for the Google AI API"
44-
},
4541
"safetySettings": {
4642
"type": "array",
4743
"description": "Safety settings for content filtering",

src/default-providers/MistralAI/settings-schema.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,14 @@
1616
"description": "The API key to use.",
1717
"default": ""
1818
},
19-
"modelName": {
20-
"type": "string",
21-
"description": "The name of the model to use. Alias for `model`",
22-
"default": "mistral-small-latest"
23-
},
2419
"model": {
2520
"type": "string",
2621
"description": "The name of the model to use.",
2722
"default": "mistral-small-latest"
2823
},
29-
"endpoint": {
24+
"serverURL": {
3025
"type": "string",
31-
"description": "Override the default endpoint."
26+
"description": "Override the default server URL used by the Mistral SDK."
3227
},
3328
"temperature": {
3429
"type": "number",

src/default-providers/Ollama/settings-schema.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,6 @@
9393
"type": ["string", "number"],
9494
"default": "5m"
9595
},
96-
"stop": {
97-
"type": "array",
98-
"items": {
99-
"type": "string"
100-
}
101-
},
10296
"disableStreaming": {
10397
"type": "boolean",
10498
"description": "Whether to disable streaming.\n\nIf streaming is bypassed, then `stream()` will defer to `invoke()`.\n\n- If true, will always bypass streaming case.\n- If false (default), will always use streaming case if available."
@@ -113,11 +107,6 @@
113107
"description": "The host URL of the Ollama server.",
114108
"default": ""
115109
},
116-
"headers": {
117-
"type": "object",
118-
"additionalProperties": false,
119-
"description": "Optional HTTP Headers to include in the request."
120-
},
121110
"checkOrPullModel": {
122111
"type": "boolean",
123112
"description": "Whether or not to check the model exists on the local machine before invoking it. If set to `true`, the model will be pulled if it does not exist.",

0 commit comments

Comments
 (0)