@datalayer/agent-runtimes 1.3.15 → 1.3.17
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/README.md +1 -1
- package/lib/chat/base/ChatBase.js +3 -2
- package/lib/config/AgentConfiguration.d.ts +1 -1
- package/lib/loop/apps/AppRenderer.d.ts +24 -0
- package/lib/loop/apps/AppRenderer.js +101 -0
- package/lib/loop/apps/appspec.d.ts +69 -0
- package/lib/loop/apps/appspec.js +566 -0
- package/lib/loop/apps/checks.d.ts +21 -0
- package/lib/loop/apps/checks.js +556 -0
- package/lib/loop/apps/index.d.ts +10 -0
- package/lib/loop/apps/index.js +14 -0
- package/lib/loop/apps/rules.d.ts +64 -0
- package/lib/loop/apps/rules.js +289 -0
- package/lib/loop/apps/yaml.d.ts +17 -0
- package/lib/loop/apps/yaml.js +185 -0
- package/lib/loop/embed/LoopEmbed.d.ts +6 -1
- package/lib/loop/embed/LoopEmbed.js +3 -2
- package/lib/loop/index.d.ts +1 -0
- package/lib/loop/index.js +3 -0
- package/lib/loop/plugins/chat/ChatView.js +9 -4
- package/lib/loop/plugins/chat/index.d.ts +10 -0
- package/lib/loop/plugins/chat/index.js +1 -0
- package/lib/loop/presets.d.ts +6 -0
- package/lib/loop/presets.js +2 -1
- package/lib/loop/shell/LoopWorkspace.d.ts +14 -0
- package/lib/loop/shell/LoopWorkspace.js +20 -6
- package/lib/loop/shell/index.d.ts +1 -1
- package/lib/loop/shell/index.js +1 -1
- package/lib/loop/shell/useWorkspaceFullScreen.d.ts +17 -4
- package/lib/loop/shell/useWorkspaceFullScreen.js +23 -6
- package/lib/specs/actions.d.ts +30 -0
- package/lib/specs/actions.js +616 -0
- package/lib/specs/agents/agents.d.ts +1 -0
- package/lib/specs/agents/agents.js +338 -284
- package/lib/specs/apps.d.ts +25 -0
- package/lib/specs/apps.js +1064 -0
- package/lib/specs/cogs.d.ts +19 -0
- package/lib/specs/cogs.js +736 -0
- package/lib/specs/events.d.ts +6 -1
- package/lib/specs/events.js +144 -1
- package/lib/specs/frames.d.ts +19 -0
- package/lib/specs/frames.js +444 -0
- package/lib/specs/gates.d.ts +22 -0
- package/lib/specs/gates.js +177 -0
- package/lib/specs/guards.d.ts +26 -0
- package/lib/specs/guards.js +930 -0
- package/lib/specs/index.d.ts +10 -0
- package/lib/specs/index.js +10 -0
- package/lib/specs/mcpServers.js +2 -2
- package/lib/specs/memory.js +4 -0
- package/lib/specs/modelProviders.d.ts +22 -0
- package/lib/specs/modelProviders.js +102 -0
- package/lib/specs/models.d.ts +31 -0
- package/lib/specs/models.js +215 -0
- package/lib/specs/ops.d.ts +15 -0
- package/lib/specs/ops.js +1272 -0
- package/lib/specs/outputs.js +2 -2
- package/lib/specs/skills.js +1 -1
- package/lib/specs/teams/teams.js +18 -18
- package/lib/specs/tracks.d.ts +15 -0
- package/lib/specs/tracks.js +87 -0
- package/lib/specs/uiPlugins.d.ts +16 -0
- package/lib/specs/uiPlugins.js +40 -0
- package/lib/types/agentspecs.d.ts +453 -2
- package/lib/types/memory.d.ts +2 -0
- package/lib/types/models.d.ts +52 -0
- package/package.json +2 -1
- package/scripts/check-cloudflare-models.py +122 -0
- package/scripts/codegen/agentspecs_clone.py +53 -0
- package/scripts/codegen/compose.py +65 -0
- package/scripts/codegen/generate_agents.py +14 -4
- package/scripts/codegen/generate_apps.py +454 -0
- package/scripts/codegen/generate_cogs.py +308 -0
- package/scripts/codegen/generate_frames.py +278 -0
- package/scripts/codegen/generate_memory.py +2 -0
- package/scripts/codegen/generate_model_providers.py +246 -0
- package/scripts/codegen/generate_models.py +135 -4
- package/scripts/codegen/generate_ops.py +388 -0
- package/scripts/codegen/generate_sandbox_agents.py +1 -1
- package/scripts/codegen/generate_ui_plugins.py +226 -0
- package/scripts/gen_workers.py +2 -2
package/lib/specs/index.d.ts
CHANGED
|
@@ -12,8 +12,18 @@ export * from './loops';
|
|
|
12
12
|
export * from './mcpServers';
|
|
13
13
|
export * from './memory';
|
|
14
14
|
export * from './models';
|
|
15
|
+
export * from './modelProviders';
|
|
15
16
|
export * from './notifications';
|
|
16
17
|
export * from './outputs';
|
|
17
18
|
export * from './skills';
|
|
18
19
|
export * from './tools';
|
|
19
20
|
export * from './triggers';
|
|
21
|
+
export * from './uiPlugins';
|
|
22
|
+
export * from './frames';
|
|
23
|
+
export * from './cogs';
|
|
24
|
+
export * from './guards';
|
|
25
|
+
export * from './gates';
|
|
26
|
+
export * from './tracks';
|
|
27
|
+
export * from './ops';
|
|
28
|
+
export * from './apps';
|
|
29
|
+
export * from './actions';
|
package/lib/specs/index.js
CHANGED
|
@@ -16,8 +16,18 @@ export * from './loops';
|
|
|
16
16
|
export * from './mcpServers';
|
|
17
17
|
export * from './memory';
|
|
18
18
|
export * from './models';
|
|
19
|
+
export * from './modelProviders';
|
|
19
20
|
export * from './notifications';
|
|
20
21
|
export * from './outputs';
|
|
21
22
|
export * from './skills';
|
|
22
23
|
export * from './tools';
|
|
23
24
|
export * from './triggers';
|
|
25
|
+
export * from './uiPlugins';
|
|
26
|
+
export * from './frames';
|
|
27
|
+
export * from './cogs';
|
|
28
|
+
export * from './guards';
|
|
29
|
+
export * from './gates';
|
|
30
|
+
export * from './tracks';
|
|
31
|
+
export * from './ops';
|
|
32
|
+
export * from './apps';
|
|
33
|
+
export * from './actions';
|
package/lib/specs/mcpServers.js
CHANGED
|
@@ -70,7 +70,7 @@ export const EARTHDATA_MCP_SERVER_0_0_1 = {
|
|
|
70
70
|
command: 'npx',
|
|
71
71
|
args: ['-y', 'earthdata-mcp-server'],
|
|
72
72
|
transport: 'stdio',
|
|
73
|
-
enabled:
|
|
73
|
+
enabled: true,
|
|
74
74
|
isAvailable: false,
|
|
75
75
|
tools: [],
|
|
76
76
|
requiredEnvVars: ['EARTHDATA_USERNAME:0.0.1', 'EARTHDATA_PASSWORD:0.0.1'],
|
|
@@ -259,7 +259,7 @@ export const TAVILY_MCP_SERVER_0_0_1 = {
|
|
|
259
259
|
command: 'npx',
|
|
260
260
|
args: ['-y', 'tavily-mcp'],
|
|
261
261
|
transport: 'stdio',
|
|
262
|
-
enabled:
|
|
262
|
+
enabled: true,
|
|
263
263
|
isAvailable: false,
|
|
264
264
|
tools: [],
|
|
265
265
|
requiredEnvVars: ['TAVILY_API_KEY:0.0.1'],
|
package/lib/specs/memory.js
CHANGED
|
@@ -22,6 +22,7 @@ export const EPHEMERAL_MEMORY_0_0_1 = {
|
|
|
22
22
|
persistence: 'none',
|
|
23
23
|
scope: 'agent',
|
|
24
24
|
backend: 'in-memory',
|
|
25
|
+
enabled: false,
|
|
25
26
|
icon: 'zap',
|
|
26
27
|
emoji: '⚡',
|
|
27
28
|
};
|
|
@@ -33,6 +34,7 @@ export const MEM0_MEMORY_0_0_1 = {
|
|
|
33
34
|
persistence: 'permanent',
|
|
34
35
|
scope: 'user',
|
|
35
36
|
backend: 'mem0',
|
|
37
|
+
enabled: true,
|
|
36
38
|
icon: 'brain',
|
|
37
39
|
emoji: '🧠',
|
|
38
40
|
};
|
|
@@ -44,6 +46,7 @@ export const MEMU_MEMORY_0_0_1 = {
|
|
|
44
46
|
persistence: 'permanent',
|
|
45
47
|
scope: 'user',
|
|
46
48
|
backend: 'memu',
|
|
49
|
+
enabled: false,
|
|
47
50
|
icon: 'eye',
|
|
48
51
|
emoji: '👁️',
|
|
49
52
|
};
|
|
@@ -55,6 +58,7 @@ export const SIMPLEMEM_MEMORY_0_0_1 = {
|
|
|
55
58
|
persistence: 'cross-session',
|
|
56
59
|
scope: 'agent',
|
|
57
60
|
backend: 'lancedb',
|
|
61
|
+
enabled: false,
|
|
58
62
|
icon: 'archive',
|
|
59
63
|
emoji: '🗜️',
|
|
60
64
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model Provider Catalog.
|
|
3
|
+
*
|
|
4
|
+
* Who serves a model: the vendor's own API, a cloud that hosts it, or the
|
|
5
|
+
* user's machine — with its site, documentation, terms, privacy policy and
|
|
6
|
+
* what it says about the data a request carries.
|
|
7
|
+
*
|
|
8
|
+
* This file is AUTO-GENERATED from YAML specifications.
|
|
9
|
+
* DO NOT EDIT MANUALLY - run 'make specs' to regenerate.
|
|
10
|
+
*/
|
|
11
|
+
import type { ModelProvider } from '../types/models';
|
|
12
|
+
export declare const ALIBABA_0_0_1: ModelProvider;
|
|
13
|
+
export declare const ANTHROPIC_0_0_1: ModelProvider;
|
|
14
|
+
export declare const AZURE_OPENAI_0_0_1: ModelProvider;
|
|
15
|
+
export declare const BEDROCK_0_0_1: ModelProvider;
|
|
16
|
+
export declare const CLOUDFLARE_0_0_1: ModelProvider;
|
|
17
|
+
export declare const OLLAMA_0_0_1: ModelProvider;
|
|
18
|
+
export declare const OPENAI_0_0_1: ModelProvider;
|
|
19
|
+
export declare const MODEL_PROVIDER_CATALOGUE: Record<string, ModelProvider>;
|
|
20
|
+
/** The provider a model spec's `provider` names, or undefined. */
|
|
21
|
+
export declare function getModelProvider(providerId: string): ModelProvider | undefined;
|
|
22
|
+
export declare function listModelProviders(): ModelProvider[];
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2025-2026 Datalayer, Inc.
|
|
3
|
+
* Distributed under the terms of the Modified BSD License.
|
|
4
|
+
*/
|
|
5
|
+
export const ALIBABA_0_0_1 = {
|
|
6
|
+
id: 'alibaba',
|
|
7
|
+
version: '0.0.1',
|
|
8
|
+
name: 'Alibaba Cloud Model Studio',
|
|
9
|
+
description: "Alibaba Cloud's model service for the Qwen family, through an OpenAI-compatible endpoint, under Alibaba Cloud's international product terms.",
|
|
10
|
+
website: 'https://www.alibabacloud.com/en/product/modelstudio',
|
|
11
|
+
docsUrl: 'https://www.alibabacloud.com/help/en/model-studio/',
|
|
12
|
+
termsUrl: 'https://www.alibabacloud.com/help/en/legal/latest/alibaba-cloud-international-website-product-terms-of-service',
|
|
13
|
+
privacyUrl: 'https://www.alibabacloud.com/help/en/legal/latest/privacy-policy',
|
|
14
|
+
hosting: 'cloud',
|
|
15
|
+
};
|
|
16
|
+
export const ANTHROPIC_0_0_1 = {
|
|
17
|
+
id: 'anthropic',
|
|
18
|
+
version: '0.0.1',
|
|
19
|
+
name: 'Anthropic',
|
|
20
|
+
description: "Anthropic's own API for the Claude models — the vendor's endpoint, with the newest models first and the vendor's own usage policy.",
|
|
21
|
+
website: 'https://www.anthropic.com',
|
|
22
|
+
docsUrl: 'https://docs.claude.com/en/home',
|
|
23
|
+
termsUrl: 'https://www.anthropic.com/legal/commercial-terms',
|
|
24
|
+
privacyUrl: 'https://www.anthropic.com/legal/privacy',
|
|
25
|
+
dataUsageUrl: 'https://www.anthropic.com/legal/aup',
|
|
26
|
+
hosting: 'cloud',
|
|
27
|
+
};
|
|
28
|
+
export const AZURE_OPENAI_0_0_1 = {
|
|
29
|
+
id: 'azure-openai',
|
|
30
|
+
version: '0.0.1',
|
|
31
|
+
name: 'Azure OpenAI',
|
|
32
|
+
description: "OpenAI's models served by Microsoft Azure (Foundry Models sold by Azure) — an Azure resource, endpoint and key, under the Microsoft Product Terms and Azure's data-privacy commitments.",
|
|
33
|
+
website: 'https://azure.microsoft.com/en-us/products/ai-foundry/models/openai',
|
|
34
|
+
docsUrl: 'https://learn.microsoft.com/en-us/azure/ai-foundry/openai/overview',
|
|
35
|
+
termsUrl: 'https://www.microsoft.com/licensing/terms/productoffering/MicrosoftAzure/EAEAS',
|
|
36
|
+
privacyUrl: 'https://www.microsoft.com/en-us/privacy/privacystatement',
|
|
37
|
+
dataUsageUrl: 'https://learn.microsoft.com/en-us/legal/cognitive-services/openai/data-privacy',
|
|
38
|
+
hosting: 'cloud',
|
|
39
|
+
};
|
|
40
|
+
export const BEDROCK_0_0_1 = {
|
|
41
|
+
id: 'bedrock',
|
|
42
|
+
version: '0.0.1',
|
|
43
|
+
name: 'Amazon Bedrock',
|
|
44
|
+
description: "AWS's managed service for foundation models, among them Anthropic's Claude — called with AWS credentials, in an AWS region, under AWS's service terms and data protection.",
|
|
45
|
+
website: 'https://aws.amazon.com/bedrock/',
|
|
46
|
+
docsUrl: 'https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-bedrock.html',
|
|
47
|
+
termsUrl: 'https://aws.amazon.com/service-terms/',
|
|
48
|
+
privacyUrl: 'https://aws.amazon.com/privacy/',
|
|
49
|
+
dataUsageUrl: 'https://docs.aws.amazon.com/bedrock/latest/userguide/data-protection.html',
|
|
50
|
+
hosting: 'cloud',
|
|
51
|
+
};
|
|
52
|
+
export const CLOUDFLARE_0_0_1 = {
|
|
53
|
+
id: 'cloudflare',
|
|
54
|
+
version: '0.0.1',
|
|
55
|
+
name: 'Cloudflare',
|
|
56
|
+
description: "Cloudflare Workers AI, the models Cloudflare hosts at its edge, and AI Gateway, which sits in front of them and of the third-party models it fronts (Typesafe's Jev) with logs, caching, rate limits and prepaid credits. A model's route (`wrk`, `gtw`) says which of the two it is reached through.",
|
|
57
|
+
website: 'https://www.cloudflare.com/developer-platform/products/workers-ai/',
|
|
58
|
+
docsUrl: 'https://developers.cloudflare.com/workers-ai/',
|
|
59
|
+
termsUrl: 'https://www.cloudflare.com/terms/',
|
|
60
|
+
privacyUrl: 'https://www.cloudflare.com/privacypolicy/',
|
|
61
|
+
dataUsageUrl: 'https://developers.cloudflare.com/workers-ai/platform/data-usage/',
|
|
62
|
+
hosting: 'cloud',
|
|
63
|
+
};
|
|
64
|
+
export const OLLAMA_0_0_1 = {
|
|
65
|
+
id: 'ollama',
|
|
66
|
+
version: '0.0.1',
|
|
67
|
+
name: 'Ollama',
|
|
68
|
+
description: "Open models run on the user's own machine through Ollama's local server — no API key, no data leaving the machine; the terms and privacy below are Ollama's for its site and registry.",
|
|
69
|
+
website: 'https://ollama.com/',
|
|
70
|
+
docsUrl: 'https://docs.ollama.com/',
|
|
71
|
+
termsUrl: 'https://ollama.com/terms',
|
|
72
|
+
privacyUrl: 'https://ollama.com/privacy',
|
|
73
|
+
hosting: 'local',
|
|
74
|
+
};
|
|
75
|
+
export const OPENAI_0_0_1 = {
|
|
76
|
+
id: 'openai',
|
|
77
|
+
version: '0.0.1',
|
|
78
|
+
name: 'OpenAI',
|
|
79
|
+
description: "OpenAI's platform API for the GPT and o-series models — the vendor's endpoint, under its business terms; API data is not used for training by default.",
|
|
80
|
+
website: 'https://openai.com',
|
|
81
|
+
docsUrl: 'https://platform.openai.com/docs/overview',
|
|
82
|
+
termsUrl: 'https://openai.com/policies/business-terms/',
|
|
83
|
+
privacyUrl: 'https://openai.com/policies/privacy-policy/',
|
|
84
|
+
dataUsageUrl: 'https://platform.openai.com/docs/guides/your-data',
|
|
85
|
+
hosting: 'cloud',
|
|
86
|
+
};
|
|
87
|
+
export const MODEL_PROVIDER_CATALOGUE = {
|
|
88
|
+
alibaba: ALIBABA_0_0_1,
|
|
89
|
+
anthropic: ANTHROPIC_0_0_1,
|
|
90
|
+
'azure-openai': AZURE_OPENAI_0_0_1,
|
|
91
|
+
bedrock: BEDROCK_0_0_1,
|
|
92
|
+
cloudflare: CLOUDFLARE_0_0_1,
|
|
93
|
+
ollama: OLLAMA_0_0_1,
|
|
94
|
+
openai: OPENAI_0_0_1,
|
|
95
|
+
};
|
|
96
|
+
/** The provider a model spec's `provider` names, or undefined. */
|
|
97
|
+
export function getModelProvider(providerId) {
|
|
98
|
+
return MODEL_PROVIDER_CATALOGUE[providerId];
|
|
99
|
+
}
|
|
100
|
+
export function listModelProviders() {
|
|
101
|
+
return Object.values(MODEL_PROVIDER_CATALOGUE);
|
|
102
|
+
}
|
package/lib/specs/models.d.ts
CHANGED
|
@@ -30,6 +30,14 @@ export declare const AIModels: {
|
|
|
30
30
|
readonly BEDROCK_US_ANTHROPIC_CLAUDE_SONNET_4_5_20250929_V1_0: "bedrock:us.anthropic.claude-sonnet-4-5-20250929-v1:0";
|
|
31
31
|
readonly BEDROCK_US_ANTHROPIC_CLAUDE_SONNET_4_6: "bedrock:us.anthropic.claude-sonnet-4-6";
|
|
32
32
|
readonly BEDROCK_US_ANTHROPIC_CLAUDE_SONNET_4_20250514_V1_0: "bedrock:us.anthropic.claude-sonnet-4-20250514-v1:0";
|
|
33
|
+
readonly CLOUDFLARE_GTW_TYPESAFE_JEV: "cloudflare:gtw/typesafe/jev";
|
|
34
|
+
readonly CLOUDFLARE_WRK_GOOGLE_GEMMA_4_26B_A4B_IT: "cloudflare:wrk/google/gemma-4-26b-a4b-it";
|
|
35
|
+
readonly CLOUDFLARE_WRK_ZAI_ORG_GLM_5_2: "cloudflare:wrk/zai-org/glm-5.2";
|
|
36
|
+
readonly CLOUDFLARE_WRK_OPENAI_GPT_OSS_120B: "cloudflare:wrk/openai/gpt-oss-120b";
|
|
37
|
+
readonly CLOUDFLARE_WRK_MOONSHOTAI_KIMI_K2_6: "cloudflare:wrk/moonshotai/kimi-k2.6";
|
|
38
|
+
readonly CLOUDFLARE_WRK_META_LLAMA_3_3_70B_INSTRUCT_FP8_FAST: "cloudflare:wrk/meta/llama-3.3-70b-instruct-fp8-fast";
|
|
39
|
+
readonly CLOUDFLARE_WRK_QWEN_QWEN3_8_27B: "cloudflare:wrk/qwen/qwen3.8-27b";
|
|
40
|
+
readonly CLOUDFLARE_WRK_TYPESAFE_JEV: "cloudflare:wrk/typesafe/jev";
|
|
33
41
|
readonly OLLAMA_GEMMA3_4B: "ollama:gemma3:4b";
|
|
34
42
|
readonly OLLAMA_LLAMA3_1_8B: "ollama:llama3.1:8b";
|
|
35
43
|
readonly OLLAMA_QWEN2_5_CODER_7B: "ollama:qwen2.5-coder:7b";
|
|
@@ -63,6 +71,14 @@ export declare const BEDROCK_US_ANTHROPIC_CLAUDE_OPUS_5_0_0_1: AIModel;
|
|
|
63
71
|
export declare const BEDROCK_US_ANTHROPIC_CLAUDE_SONNET_4_5_20250929_V1_0_0_0_1: AIModel;
|
|
64
72
|
export declare const BEDROCK_US_ANTHROPIC_CLAUDE_SONNET_4_6_0_0_1: AIModel;
|
|
65
73
|
export declare const BEDROCK_US_ANTHROPIC_CLAUDE_SONNET_4_20250514_V1_0_0_0_1: AIModel;
|
|
74
|
+
export declare const CLOUDFLARE_GTW_TYPESAFE_JEV_0_0_1: AIModel;
|
|
75
|
+
export declare const CLOUDFLARE_WRK_GOOGLE_GEMMA_4_26B_A4B_IT_0_0_1: AIModel;
|
|
76
|
+
export declare const CLOUDFLARE_WRK_ZAI_ORG_GLM_5_2_0_0_1: AIModel;
|
|
77
|
+
export declare const CLOUDFLARE_WRK_OPENAI_GPT_OSS_120B_0_0_1: AIModel;
|
|
78
|
+
export declare const CLOUDFLARE_WRK_MOONSHOTAI_KIMI_K2_6_0_0_1: AIModel;
|
|
79
|
+
export declare const CLOUDFLARE_WRK_META_LLAMA_3_3_70B_INSTRUCT_FP8_FAST_0_0_1: AIModel;
|
|
80
|
+
export declare const CLOUDFLARE_WRK_QWEN_QWEN3_8_27B_0_0_1: AIModel;
|
|
81
|
+
export declare const CLOUDFLARE_WRK_TYPESAFE_JEV_0_0_1: AIModel;
|
|
66
82
|
export declare const OLLAMA_GEMMA3_4B_0_0_1: AIModel;
|
|
67
83
|
export declare const OLLAMA_LLAMA3_1_8B_0_0_1: AIModel;
|
|
68
84
|
export declare const OLLAMA_QWEN2_5_CODER_7B_0_0_1: AIModel;
|
|
@@ -73,5 +89,20 @@ export declare const OPENAI_GPT_4O_MINI_0_0_1: AIModel;
|
|
|
73
89
|
export declare const OPENAI_GPT_4O_0_0_1: AIModel;
|
|
74
90
|
export declare const OPENAI_O3_MINI_0_0_1: AIModel;
|
|
75
91
|
export declare const AI_MODEL_CATALOGUE: Record<string, AIModel>;
|
|
92
|
+
/**
|
|
93
|
+
* The ids a model answered to before its id moved, to the id it has now.
|
|
94
|
+
* Kept apart from the catalogue, which lists each model once.
|
|
95
|
+
*/
|
|
96
|
+
export declare const AI_MODEL_ALIASES: Record<string, string>;
|
|
97
|
+
/** A model by its id, or by an id it had before; undefined when the catalogue has neither. */
|
|
98
|
+
export declare function getModel(modelId: string): AIModel | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* A model a chat can run on: not a typed-judgment model (Jev), which
|
|
101
|
+
* answers typed questions about a state and nothing else. A spec that
|
|
102
|
+
* states no capability is read as a chat model.
|
|
103
|
+
*/
|
|
104
|
+
export declare function isChatModel(model: AIModel): boolean;
|
|
105
|
+
/** The models a person choosing a chat model is offered from. */
|
|
106
|
+
export declare function listChatModels(): AIModel[];
|
|
76
107
|
export declare const DEFAULT_MODEL: AIModelId;
|
|
77
108
|
export declare const DEFAULT_MODEL_SPEC: AIModel;
|