deepspace 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/cli.js +149 -68
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js.map +1 -1
- package/dist/server.d.ts +53 -1
- package/dist/server.js +86 -1
- package/dist/server.js.map +1 -1
- package/dist/worker.d.ts +53 -1
- package/dist/worker.js +86 -1
- package/dist/worker.js.map +1 -1
- package/features/ai-chat/src/ChatPanel.tsx +14 -12
- package/package.json +1 -1
|
@@ -105,19 +105,21 @@ const DEFAULT_PROMPTS = [
|
|
|
105
105
|
'List my collections',
|
|
106
106
|
]
|
|
107
107
|
|
|
108
|
-
// Mirrors the allowlist in the scaffolded
|
|
109
|
-
// default — balanced cost/capability with the same 1M-token context as
|
|
110
|
-
//
|
|
111
|
-
// so the picker shows the
|
|
112
|
-
// Override by passing your own `models` prop
|
|
108
|
+
// Mirrors the allowlist in the scaffolded ai/chat-routes.ts. Sonnet 5 is the
|
|
109
|
+
// default — balanced cost/capability with the same 1M-token context as Opus
|
|
110
|
+
// at a lower price. Within each provider we list default → premium → cheap
|
|
111
|
+
// so the picker shows the recommended option first when a user opens it.
|
|
112
|
+
// Override by passing your own `models` prop — apps scaffolded before this
|
|
113
|
+
// lineup must either update their ALLOWED_MODELS to match or pass the models
|
|
114
|
+
// they allowlist, otherwise the worker rejects the picker's ids with a 400.
|
|
113
115
|
const DEFAULT_MODELS: ModelOption[] = [
|
|
114
|
-
{ id: 'claude-sonnet-
|
|
115
|
-
{ id: 'claude-opus-4-
|
|
116
|
-
{ id: 'claude-haiku-4-5',
|
|
117
|
-
{ id: 'gpt-5.
|
|
118
|
-
{ id: 'gpt-5.
|
|
119
|
-
{ id: 'gpt-5.
|
|
120
|
-
{ id: 'gpt-oss-120b',
|
|
116
|
+
{ id: 'claude-sonnet-5', label: 'Claude Sonnet 5', provider: 'Anthropic' },
|
|
117
|
+
{ id: 'claude-opus-4-8', label: 'Claude Opus 4.8', provider: 'Anthropic' },
|
|
118
|
+
{ id: 'claude-haiku-4-5', label: 'Claude Haiku 4.5', provider: 'Anthropic' },
|
|
119
|
+
{ id: 'gpt-5.6-terra', label: 'GPT-5.6 Terra', provider: 'OpenAI' },
|
|
120
|
+
{ id: 'gpt-5.6-sol', label: 'GPT-5.6 Sol', provider: 'OpenAI' },
|
|
121
|
+
{ id: 'gpt-5.6-luna', label: 'GPT-5.6 Luna', provider: 'OpenAI' },
|
|
122
|
+
{ id: 'gpt-oss-120b', label: 'GPT-OSS 120B', provider: 'Cerebras' },
|
|
121
123
|
]
|
|
122
124
|
|
|
123
125
|
// ============================================================================
|