@theokit/sdk 1.6.2 → 1.7.0
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 +187 -0
- package/dist/a2a/agent-mailbox.d.cts +27 -0
- package/dist/a2a/agent-mailbox.d.ts +27 -0
- package/dist/a2a/index.cjs +16850 -0
- package/dist/a2a/index.cjs.map +1 -0
- package/dist/a2a/index.d.cts +9 -0
- package/dist/a2a/index.d.ts +9 -0
- package/dist/a2a/index.js +16844 -0
- package/dist/a2a/index.js.map +1 -0
- package/dist/a2a/message-bus.d.cts +27 -0
- package/dist/a2a/message-bus.d.ts +27 -0
- package/dist/a2a/subagent.d.cts +25 -0
- package/dist/a2a/subagent.d.ts +25 -0
- package/dist/a2a/types.d.cts +12 -0
- package/dist/a2a/types.d.ts +12 -0
- package/dist/agent.d.ts +1 -1
- package/dist/client/index.cjs +73 -0
- package/dist/client/index.cjs.map +1 -0
- package/dist/client/index.d.cts +7 -0
- package/dist/client/index.d.ts +7 -0
- package/dist/client/index.js +71 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/theokit-client.d.cts +18 -0
- package/dist/client/theokit-client.d.ts +18 -0
- package/dist/client/types.d.cts +19 -0
- package/dist/client/types.d.ts +19 -0
- package/dist/{run-DkCD5DeO.d.cts → cron-BnywDYLq.d.cts} +496 -910
- package/dist/{run-DkCD5DeO.d.ts → cron-CtZvJD9J.d.ts} +496 -910
- package/dist/cron.cjs +4285 -2893
- package/dist/cron.cjs.map +1 -1
- package/dist/cron.d.cts +2 -3
- package/dist/cron.d.ts +2 -71
- package/dist/cron.js +4289 -2897
- package/dist/cron.js.map +1 -1
- package/dist/{errors-CvAeEWgE.d.ts → errors-ChqOmFH1.d.cts} +52 -6
- package/dist/{errors-CK8brCJ1.d.cts → errors-DV9e0rcp.d.ts} +52 -6
- package/dist/errors.cjs +218 -3
- package/dist/errors.cjs.map +1 -1
- package/dist/errors.d.cts +2 -3
- package/dist/errors.d.ts +50 -4
- package/dist/errors.js +217 -4
- package/dist/errors.js.map +1 -1
- package/dist/eval.cjs +4285 -2893
- package/dist/eval.cjs.map +1 -1
- package/dist/eval.d.cts +35 -0
- package/dist/eval.js +4289 -2897
- package/dist/eval.js.map +1 -1
- package/dist/event-bus.d.ts +23 -0
- package/dist/index.cjs +5132 -4200
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +298 -278
- package/dist/index.d.ts +1898 -24
- package/dist/index.js +6441 -5509
- package/dist/index.js.map +1 -1
- package/dist/internal/agent-loop/loop-context-init.d.ts +2 -0
- package/dist/internal/agent-loop/tool-dispatch.d.ts +22 -1
- package/dist/internal/auth/api-key-validator.d.ts +46 -0
- package/dist/internal/llm/anthropic-shared.d.ts +8 -1
- package/dist/internal/llm/retry.d.ts +22 -0
- package/dist/internal/llm/types.d.ts +47 -1
- package/dist/internal/memory/active-memory-cache.d.ts +3 -3
- package/dist/internal/memory/active-memory-types.d.ts +8 -0
- package/dist/internal/memory/active-memory.d.ts +24 -20
- package/dist/internal/memory/adapters/azure-openai-embedding.d.ts +2 -0
- package/dist/internal/memory/adapters/cohere-embedding.d.ts +2 -0
- package/dist/internal/memory/adapters/gemini-embedding.d.ts +2 -0
- package/dist/internal/memory/adapters/jina-embedding.d.ts +2 -0
- package/dist/internal/memory/index-manager-contract.d.ts +26 -0
- package/dist/internal/memory/index-manager-dispatch.d.ts +1 -1
- package/dist/internal/memory/index-manager.d.ts +8 -26
- package/dist/internal/memory/{chunk-markdown.d.ts → storage/chunk-markdown.d.ts} +1 -1
- package/dist/internal/memory/{markdown-store.d.ts → storage/markdown-store.d.ts} +1 -1
- package/dist/internal/memory/{reader.d.ts → storage/reader.d.ts} +1 -1
- package/dist/internal/observability/context.d.cts +23 -0
- package/dist/internal/observability/context.d.ts +23 -0
- package/dist/internal/observability/index.cjs +38 -0
- package/dist/internal/observability/index.cjs.map +1 -0
- package/dist/internal/observability/index.d.cts +8 -0
- package/dist/internal/observability/index.d.ts +8 -0
- package/dist/internal/observability/index.js +33 -0
- package/dist/internal/observability/index.js.map +1 -0
- package/dist/internal/observability/tracer-loader.d.cts +20 -0
- package/dist/internal/persistence/conversation-storage-fs.d.cts +37 -0
- package/dist/internal/persistence/conversation-storage-memory.d.cts +24 -0
- package/dist/internal/persistence/credential-pool-store.d.cts +32 -0
- package/dist/internal/persistence/credential-pool-store.d.ts +32 -0
- package/dist/internal/persistence/cwd-mutex.d.cts +1 -0
- package/dist/internal/persistence/exclusive-create.d.cts +22 -0
- package/dist/internal/persistence/exclusive-create.d.ts +22 -0
- package/dist/internal/persistence/file-lock.d.cts +14 -0
- package/dist/internal/persistence/fts5-sanitize.d.cts +16 -0
- package/dist/internal/persistence/index.cjs +359 -0
- package/dist/internal/persistence/index.cjs.map +1 -0
- package/dist/internal/persistence/index.d.cts +20 -0
- package/dist/internal/persistence/index.d.ts +20 -0
- package/dist/internal/persistence/index.js +341 -0
- package/dist/internal/persistence/index.js.map +1 -0
- package/dist/internal/persistence/markdown-config-loader.d.cts +35 -0
- package/dist/internal/persistence/paths.d.cts +19 -0
- package/dist/internal/persistence/persistence-schema.d.cts +21 -0
- package/dist/internal/persistence/persistence-schema.d.ts +4 -0
- package/dist/internal/persistence/schema-version.d.cts +13 -0
- package/dist/internal/persistence/sqlite-cas.d.cts +25 -0
- package/dist/internal/persistence/sqlite-cas.d.ts +25 -0
- package/dist/internal/persistence/sqlite-wal.d.cts +10 -0
- package/dist/internal/plugins/context.d.cts +31 -0
- package/dist/internal/plugins/index.cjs +228 -0
- package/dist/internal/plugins/index.cjs.map +1 -0
- package/dist/internal/plugins/index.d.cts +8 -0
- package/dist/internal/plugins/index.d.ts +8 -0
- package/dist/internal/plugins/index.js +222 -0
- package/dist/internal/plugins/index.js.map +1 -0
- package/dist/internal/plugins/lifecycle.d.cts +14 -0
- package/dist/internal/plugins/lifecycle.d.ts +14 -0
- package/dist/internal/plugins/manager.d.cts +37 -0
- package/dist/internal/plugins/types.d.cts +102 -0
- package/dist/internal/providers/catalog-loader.d.ts +39 -0
- package/dist/internal/runtime/agent-session-store.d.ts +1 -1
- package/dist/internal/runtime/agent-session.d.ts +1 -0
- package/dist/internal/runtime/budget-tracker.d.ts +73 -0
- package/dist/internal/runtime/{context-manager.d.ts → context/context-manager.d.ts} +1 -1
- package/dist/internal/runtime/{fixture-events.d.ts → fixtures/fixture-events.d.ts} +1 -1
- package/dist/internal/runtime/{fixture-run-base.d.ts → fixtures/fixture-run-base.d.ts} +4 -4
- package/dist/internal/runtime/{fixture-scripts.d.ts → fixtures/fixture-scripts.d.ts} +1 -1
- package/dist/internal/runtime/local-agent-bootstrap.d.ts +2 -2
- package/dist/internal/runtime/local-agent-memory-provider.d.ts +57 -0
- package/dist/internal/runtime/memory-path-selector.d.ts +73 -0
- package/dist/internal/runtime/memory-provider.d.ts +165 -0
- package/dist/internal/runtime/{agent-registry.d.ts → registry/agent-registry-contract.d.ts} +15 -9
- package/dist/internal/runtime/registry/agent-registry.d.ts +7 -0
- package/dist/internal/runtime/{live-agent-registry.d.ts → registry/live-agent-registry.d.ts} +1 -1
- package/dist/internal/runtime/{run-registry.d.ts → registry/run-registry.d.ts} +1 -1
- package/dist/internal/runtime/session-types.d.ts +35 -0
- package/dist/internal/runtime/system-prompt/sources/skills-provider.d.ts +1 -0
- package/dist/internal/runtime/validate-response.d.ts +18 -0
- package/dist/internal/security/index.cjs +361 -0
- package/dist/internal/security/index.cjs.map +1 -0
- package/dist/internal/security/index.d.cts +11 -0
- package/dist/internal/security/index.js +350 -0
- package/dist/internal/security/index.js.map +1 -0
- package/dist/internal/security/path-guard.d.cts +59 -0
- package/dist/internal/security/path-guard.d.ts +3 -0
- package/dist/internal/security/redact.d.cts +21 -0
- package/dist/internal/security/secret-redactor.d.cts +1 -0
- package/dist/internal/security/secret-redactor.d.ts +1 -0
- package/dist/internal/security/test-reset.d.cts +10 -0
- package/dist/internal/security/test-reset.d.ts +10 -0
- package/dist/internal/telemetry/adapters/arize.d.ts +2 -0
- package/dist/internal/telemetry/adapters/braintrust.d.ts +2 -0
- package/dist/internal/telemetry/adapters/datadog.d.ts +2 -0
- package/dist/internal/telemetry/adapters/langsmith.d.ts +2 -0
- package/dist/internal/telemetry/span-names.d.ts +6 -0
- package/dist/internal/telemetry/tracer.d.ts +1 -0
- package/dist/internal/workflow/evented-executor.d.ts +42 -0
- package/dist/internal/workflow/scheduler.d.ts +23 -0
- package/dist/internal/zod/to-json-schema.d.ts +5 -15
- package/dist/job-queue.d.ts +28 -0
- package/dist/path-safety.cjs +67 -6
- package/dist/path-safety.cjs.map +1 -1
- package/dist/path-safety.d.cts +15 -0
- package/dist/path-safety.d.ts +1 -1
- package/dist/path-safety.js +67 -7
- package/dist/path-safety.js.map +1 -1
- package/dist/permission-engine.d.ts +21 -0
- package/dist/provider-catalog.json +702 -0
- package/dist/rag/index.cjs +136 -0
- package/dist/rag/index.cjs.map +1 -0
- package/dist/rag/index.d.cts +11 -0
- package/dist/rag/index.d.ts +11 -0
- package/dist/rag/index.js +129 -0
- package/dist/rag/index.js.map +1 -0
- package/dist/rag/reranker.d.cts +26 -0
- package/dist/rag/reranker.d.ts +26 -0
- package/dist/rag/retriever.d.cts +25 -0
- package/dist/rag/retriever.d.ts +25 -0
- package/dist/rag/text-splitter.d.cts +12 -0
- package/dist/rag/text-splitter.d.ts +12 -0
- package/dist/rag/types.d.cts +37 -0
- package/dist/rag/types.d.ts +37 -0
- package/dist/run-DrwUpFxZ.d.cts +823 -0
- package/dist/run-DrwUpFxZ.d.ts +823 -0
- package/dist/sandbox/index.cjs +133 -0
- package/dist/sandbox/index.cjs.map +1 -0
- package/dist/sandbox/index.d.cts +2 -0
- package/dist/sandbox/index.d.ts +2 -0
- package/dist/sandbox/index.js +128 -0
- package/dist/sandbox/index.js.map +1 -0
- package/dist/sandbox/local-sandbox.d.cts +17 -0
- package/dist/sandbox/local-sandbox.d.ts +17 -0
- package/dist/sandbox/types.d.cts +44 -0
- package/dist/sandbox/types.d.ts +44 -0
- package/dist/server/adapter/express.d.cts +9 -0
- package/dist/server/adapter/express.d.ts +9 -0
- package/dist/server/adapter/fastify.d.cts +9 -0
- package/dist/server/adapter/fastify.d.ts +9 -0
- package/dist/server/adapter/hono.d.cts +9 -0
- package/dist/server/adapter/hono.d.ts +9 -0
- package/dist/server/adapter/index.d.cts +8 -0
- package/dist/server/adapter/index.d.ts +8 -0
- package/dist/server/adapter/shared-handler.d.cts +9 -0
- package/dist/server/adapter/shared-handler.d.ts +9 -0
- package/dist/server/adapter/types.d.cts +33 -0
- package/dist/server/adapter/types.d.ts +33 -0
- package/dist/server/auth/errors.d.cts +53 -0
- package/dist/server/auth/errors.d.ts +53 -0
- package/dist/server/auth/index.cjs +38 -41
- package/dist/server/auth/index.cjs.map +1 -1
- package/dist/server/auth/index.d.cts +11 -172
- package/dist/server/auth/index.d.ts +11 -172
- package/dist/server/auth/index.js +39 -42
- package/dist/server/auth/index.js.map +1 -1
- package/dist/server/auth/oauth-transaction-store.d.cts +39 -0
- package/dist/server/auth/oauth-transaction-store.d.ts +39 -0
- package/dist/server/auth/orchestrator.d.cts +8 -0
- package/dist/server/auth/orchestrator.d.ts +8 -0
- package/dist/server/auth/types.d.cts +91 -0
- package/dist/server/auth/types.d.ts +91 -0
- package/dist/server/auth/validate-return-to.d.cts +17 -0
- package/dist/server/auth/validate-return-to.d.ts +17 -0
- package/dist/server/errors-envelope.cjs +409 -0
- package/dist/server/errors-envelope.cjs.map +1 -0
- package/dist/server/errors-envelope.d.cts +61 -0
- package/dist/server/errors-envelope.d.ts +61 -0
- package/dist/server/errors-envelope.js +405 -0
- package/dist/server/errors-envelope.js.map +1 -0
- package/dist/subscription/define-subscription.d.cts +63 -0
- package/dist/subscription/define-subscription.d.ts +63 -0
- package/dist/subscription/index.cjs +402 -0
- package/dist/subscription/index.cjs.map +1 -0
- package/dist/subscription/index.d.cts +18 -0
- package/dist/subscription/index.d.ts +18 -0
- package/dist/subscription/index.js +394 -0
- package/dist/subscription/index.js.map +1 -0
- package/dist/subscription/internal/adapter-types.d.cts +11 -0
- package/dist/subscription/internal/adapter-types.d.ts +11 -0
- package/dist/subscription/internal/backpressure.d.cts +24 -0
- package/dist/subscription/internal/backpressure.d.ts +24 -0
- package/dist/subscription/internal/server-integration.d.cts +17 -0
- package/dist/subscription/internal/server-integration.d.ts +17 -0
- package/dist/subscription/internal/sse-encoder.d.cts +13 -0
- package/dist/subscription/internal/sse-encoder.d.ts +13 -0
- package/dist/subscription/internal/sse-parser.d.cts +15 -0
- package/dist/subscription/internal/sse-parser.d.ts +15 -0
- package/dist/subscription/internal/subscription-runtime.d.cts +9 -0
- package/dist/subscription/internal/subscription-runtime.d.ts +9 -0
- package/dist/subscription/internal/ws-adapter-node.d.cts +10 -0
- package/dist/subscription/internal/ws-adapter-node.d.ts +10 -0
- package/dist/subscription/theokit-subscribe.d.cts +41 -0
- package/dist/subscription/theokit-subscribe.d.ts +41 -0
- package/dist/subscription/types.d.cts +140 -0
- package/dist/subscription/types.d.ts +140 -0
- package/dist/task-store.cjs +30 -2
- package/dist/task-store.cjs.map +1 -1
- package/dist/task-store.d.cts +8 -0
- package/dist/task-store.js +31 -3
- package/dist/task-store.js.map +1 -1
- package/dist/types/agent-prims.d.ts +61 -0
- package/dist/types/agent.d.ts +48 -53
- package/dist/types/conversation.d.ts +20 -8
- package/dist/types/index.d.ts +0 -2
- package/dist/types/messages-base.d.ts +20 -0
- package/dist/types/messages.d.ts +1 -1
- package/dist/types/run.d.ts +1 -1
- package/dist/types/updates.d.ts +1 -1
- package/dist/voice/index.d.ts +7 -0
- package/dist/voice/openai-realtime.d.ts +21 -0
- package/dist/voice/types.d.ts +35 -0
- package/dist/workflow.cjs +179 -88
- package/dist/workflow.cjs.map +1 -1
- package/dist/workflow.d.cts +97 -0
- package/dist/workflow.js +180 -89
- package/dist/workflow.js.map +1 -1
- package/package.json +126 -25
- package/dist/budget.d.ts +0 -48
- package/dist/cache.d.ts +0 -74
- package/dist/cron-1yxL3K2S.d.cts +0 -221
- package/dist/cron-BYVdYzob.d.ts +0 -221
- package/dist/handoff.d.ts +0 -55
- package/dist/internal/budget/calendar-window.d.ts +0 -19
- package/dist/internal/budget/enforcement.d.ts +0 -32
- package/dist/internal/budget/ledger.d.ts +0 -25
- package/dist/internal/budget/normalize-usage.d.ts +0 -27
- package/dist/internal/budget/registry.d.ts +0 -16
- package/dist/internal/cache/cosine.d.ts +0 -14
- package/dist/internal/cache/embed-helper.d.ts +0 -15
- package/dist/internal/cache/key.d.ts +0 -15
- package/dist/internal/cache/lookup.d.ts +0 -28
- package/dist/internal/cache/store-handler.d.ts +0 -24
- package/dist/internal/cache/store-json.d.ts +0 -48
- package/dist/internal/cache/store.d.ts +0 -54
- package/dist/internal/cache/telemetry.d.ts +0 -20
- package/dist/internal/cache/ttl.d.ts +0 -11
- package/dist/internal/catalog/fixtures.d.ts +0 -16
- package/dist/internal/catalog/local-models.d.ts +0 -24
- package/dist/internal/handoff/dispatcher.d.ts +0 -29
- package/dist/internal/handoff/registry.d.ts +0 -23
- package/dist/internal/handoff/telemetry.d.ts +0 -18
- package/dist/internal/handoff/tool-injector.d.ts +0 -34
- package/dist/internal/memory/atomic-write.d.ts +0 -7
- package/dist/internal/memory/dreaming/diary.d.ts +0 -4
- package/dist/internal/memory/dreaming/phases.d.ts +0 -15
- package/dist/internal/memory/dreaming/run.d.ts +0 -10
- package/dist/internal/memory/migrate-sqlite-to-lance.d.ts +0 -15
- package/dist/memory-adapter-helpers.d.ts +0 -28
- package/dist/memory.d.ts +0 -123
- package/dist/migrate.d.ts +0 -33
- package/dist/security.d.ts +0 -67
- package/dist/task.d.ts +0 -87
- package/dist/theokit.d.ts +0 -84
- package/dist/tools/_path-scope.d.ts +0 -8
- package/dist/tools/_subprocess.d.ts +0 -28
- package/dist/tools/git-diff.d.ts +0 -22
- package/dist/tools/index.d.ts +0 -29
- package/dist/tools/list-dir.d.ts +0 -26
- package/dist/tools/read-file.d.ts +0 -31
- package/dist/tools/run-vitest.d.ts +0 -46
- package/dist/tools/search-text.d.ts +0 -32
- package/dist/tools.cjs +0 -690
- package/dist/tools.cjs.map +0 -1
- package/dist/tools.js +0 -683
- package/dist/tools.js.map +0 -1
- package/dist/trajectory-helpers.d.ts +0 -31
- package/dist/types/cache.d.ts +0 -76
- package/dist/types/handoff.d.ts +0 -135
- /package/dist/{internal/cron/run-job.d.ts → agent-helpers.d.ts} +0 -0
- /package/dist/internal/{cron/scheduler.d.ts → agent-loop/loop-llm-stream.d.ts} +0 -0
- /package/dist/internal/{cron/store.d.ts → agent-loop/tool-executors.d.ts} +0 -0
- /package/dist/internal/{cron/validate.d.ts → memory/index-manager-helpers.d.ts} +0 -0
- /package/dist/internal/memory/{session-loader.d.ts → storage/session-loader.d.ts} +0 -0
- /package/dist/internal/memory/{session-summary-writer.d.ts → storage/session-summary-writer.d.ts} +0 -0
- /package/dist/internal/memory/{transcript-store.d.ts → storage/transcript-store.d.ts} +0 -0
- /package/dist/internal/memory/{wiki-loader.d.ts → storage/wiki-loader.d.ts} +0 -0
- /package/dist/internal/{memory/cwd-mutex.d.ts → persistence/atomic-write.d.cts} +0 -0
- /package/dist/internal/runtime/{context-aggregator.d.ts → context/context-aggregator.d.ts} +0 -0
- /package/dist/internal/runtime/{context-discovery-runner.d.ts → context/context-discovery-runner.d.ts} +0 -0
- /package/dist/internal/runtime/{context-discovery.d.ts → context/context-discovery.d.ts} +0 -0
- /package/dist/internal/runtime/{context-frontmatter.d.ts → context/context-frontmatter.d.ts} +0 -0
- /package/dist/internal/runtime/{context-import-resolver.d.ts → context/context-import-resolver.d.ts} +0 -0
- /package/dist/internal/runtime/{context-loaders.d.ts → context/context-loaders.d.ts} +0 -0
- /package/dist/internal/runtime/{context-mdc-parser.d.ts → context/context-mdc-parser.d.ts} +0 -0
- /package/dist/internal/runtime/{fixture-responder.d.ts → fixtures/fixture-responder.d.ts} +0 -0
- /package/dist/internal/runtime/{fixture-types.d.ts → fixtures/fixture-types.d.ts} +0 -0
- /package/dist/internal/runtime/{plugins-manager.d.ts → local-agent-send.d.ts} +0 -0
- /package/dist/internal/runtime/{plugin-frontmatter.d.ts → plugins/plugin-frontmatter.d.ts} +0 -0
- /package/dist/internal/runtime/{system-prompt/providers/active-memory-provider.d.ts → plugins/plugins-manager.d.ts} +0 -0
- /package/dist/internal/runtime/{agent-factory-registry.d.ts → registry/agent-factory-registry.d.ts} +0 -0
- /package/dist/internal/runtime/{agent-registry-store.d.ts → registry/agent-registry-store.d.ts} +0 -0
- /package/dist/internal/runtime/system-prompt/{providers/base-provider.d.ts → sources/active-memory-provider.d.ts} +0 -0
- /package/dist/internal/runtime/system-prompt/{providers/context-provider.d.ts → sources/base-provider.d.ts} +0 -0
- /package/dist/internal/runtime/system-prompt/{providers/memory-provider.d.ts → sources/context-provider.d.ts} +0 -0
- /package/dist/internal/runtime/system-prompt/{providers/skills-provider.d.ts → sources/memory-provider.d.ts} +0 -0
|
@@ -0,0 +1,702 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "openai",
|
|
4
|
+
"displayName": "OpenAI",
|
|
5
|
+
"apiMode": "chat_completions",
|
|
6
|
+
"authType": "api_key",
|
|
7
|
+
"baseUrl": "https://api.openai.com/v1",
|
|
8
|
+
"envVars": ["OPENAI_API_KEY"],
|
|
9
|
+
"fallbackModels": ["gpt-4o-mini", "gpt-4o"],
|
|
10
|
+
"capabilities": {
|
|
11
|
+
"supportsToolUse": true,
|
|
12
|
+
"supportsVision": true,
|
|
13
|
+
"supportsStructuredOutput": true,
|
|
14
|
+
"supportsStreaming": true,
|
|
15
|
+
"supportsCacheControl": false
|
|
16
|
+
},
|
|
17
|
+
"aliases": ["openai"]
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"id": "anthropic",
|
|
21
|
+
"displayName": "Anthropic",
|
|
22
|
+
"apiMode": "anthropic_messages",
|
|
23
|
+
"authType": "api_key",
|
|
24
|
+
"baseUrl": "https://api.anthropic.com/v1",
|
|
25
|
+
"envVars": ["ANTHROPIC_API_KEY"],
|
|
26
|
+
"fallbackModels": ["claude-sonnet-4-20250514", "claude-3-5-haiku-latest"],
|
|
27
|
+
"capabilities": {
|
|
28
|
+
"supportsToolUse": true,
|
|
29
|
+
"supportsVision": true,
|
|
30
|
+
"supportsStructuredOutput": false,
|
|
31
|
+
"supportsStreaming": true,
|
|
32
|
+
"supportsCacheControl": true
|
|
33
|
+
},
|
|
34
|
+
"aliases": ["anthropic"]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "openrouter",
|
|
38
|
+
"displayName": "OpenRouter",
|
|
39
|
+
"apiMode": "chat_completions",
|
|
40
|
+
"authType": "api_key",
|
|
41
|
+
"baseUrl": "https://openrouter.ai/api/v1",
|
|
42
|
+
"envVars": ["OPENROUTER_API_KEY"],
|
|
43
|
+
"fallbackModels": ["openai/gpt-4o-mini"],
|
|
44
|
+
"capabilities": {
|
|
45
|
+
"supportsToolUse": true,
|
|
46
|
+
"supportsVision": true,
|
|
47
|
+
"supportsStructuredOutput": true,
|
|
48
|
+
"supportsStreaming": true,
|
|
49
|
+
"supportsCacheControl": false
|
|
50
|
+
},
|
|
51
|
+
"aliases": ["openrouter"]
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "groq",
|
|
55
|
+
"displayName": "Groq",
|
|
56
|
+
"apiMode": "chat_completions",
|
|
57
|
+
"authType": "api_key",
|
|
58
|
+
"baseUrl": "https://api.groq.com/openai/v1",
|
|
59
|
+
"envVars": ["GROQ_API_KEY"],
|
|
60
|
+
"fallbackModels": ["llama-3.3-70b-versatile"],
|
|
61
|
+
"capabilities": {
|
|
62
|
+
"supportsToolUse": true,
|
|
63
|
+
"supportsVision": true,
|
|
64
|
+
"supportsStructuredOutput": true,
|
|
65
|
+
"supportsStreaming": true,
|
|
66
|
+
"supportsCacheControl": false
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "mistral",
|
|
71
|
+
"displayName": "Mistral AI",
|
|
72
|
+
"apiMode": "chat_completions",
|
|
73
|
+
"authType": "api_key",
|
|
74
|
+
"baseUrl": "https://api.mistral.ai/v1",
|
|
75
|
+
"envVars": ["MISTRAL_API_KEY"],
|
|
76
|
+
"fallbackModels": ["mistral-large-latest"],
|
|
77
|
+
"capabilities": {
|
|
78
|
+
"supportsToolUse": true,
|
|
79
|
+
"supportsVision": true,
|
|
80
|
+
"supportsStructuredOutput": true,
|
|
81
|
+
"supportsStreaming": true,
|
|
82
|
+
"supportsCacheControl": false
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "deepseek",
|
|
87
|
+
"displayName": "DeepSeek",
|
|
88
|
+
"apiMode": "chat_completions",
|
|
89
|
+
"authType": "api_key",
|
|
90
|
+
"baseUrl": "https://api.deepseek.com/v1",
|
|
91
|
+
"envVars": ["DEEPSEEK_API_KEY"],
|
|
92
|
+
"fallbackModels": ["deepseek-chat"],
|
|
93
|
+
"capabilities": {
|
|
94
|
+
"supportsToolUse": true,
|
|
95
|
+
"supportsVision": false,
|
|
96
|
+
"supportsStructuredOutput": true,
|
|
97
|
+
"supportsStreaming": true,
|
|
98
|
+
"supportsCacheControl": false
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "together",
|
|
103
|
+
"displayName": "Together AI",
|
|
104
|
+
"apiMode": "chat_completions",
|
|
105
|
+
"authType": "api_key",
|
|
106
|
+
"baseUrl": "https://api.together.xyz/v1",
|
|
107
|
+
"envVars": ["TOGETHER_API_KEY"],
|
|
108
|
+
"fallbackModels": ["meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo"],
|
|
109
|
+
"capabilities": {
|
|
110
|
+
"supportsToolUse": true,
|
|
111
|
+
"supportsVision": true,
|
|
112
|
+
"supportsStructuredOutput": true,
|
|
113
|
+
"supportsStreaming": true,
|
|
114
|
+
"supportsCacheControl": false
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"id": "fireworks",
|
|
119
|
+
"displayName": "Fireworks AI",
|
|
120
|
+
"apiMode": "chat_completions",
|
|
121
|
+
"authType": "api_key",
|
|
122
|
+
"baseUrl": "https://api.fireworks.ai/inference/v1",
|
|
123
|
+
"envVars": ["FIREWORKS_API_KEY"],
|
|
124
|
+
"fallbackModels": ["accounts/fireworks/models/llama-v3p1-70b-instruct"],
|
|
125
|
+
"capabilities": {
|
|
126
|
+
"supportsToolUse": true,
|
|
127
|
+
"supportsVision": true,
|
|
128
|
+
"supportsStructuredOutput": true,
|
|
129
|
+
"supportsStreaming": true,
|
|
130
|
+
"supportsCacheControl": false
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"id": "google-gemini",
|
|
135
|
+
"displayName": "Google Gemini",
|
|
136
|
+
"apiMode": "chat_completions",
|
|
137
|
+
"authType": "api_key",
|
|
138
|
+
"baseUrl": "https://generativelanguage.googleapis.com/v1beta/openai",
|
|
139
|
+
"envVars": ["GOOGLE_API_KEY", "GEMINI_API_KEY"],
|
|
140
|
+
"fallbackModels": ["gemini-2.0-flash"],
|
|
141
|
+
"capabilities": {
|
|
142
|
+
"supportsToolUse": true,
|
|
143
|
+
"supportsVision": true,
|
|
144
|
+
"supportsStructuredOutput": true,
|
|
145
|
+
"supportsStreaming": true,
|
|
146
|
+
"supportsCacheControl": false
|
|
147
|
+
},
|
|
148
|
+
"aliases": ["gemini"]
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "ollama",
|
|
152
|
+
"displayName": "Ollama",
|
|
153
|
+
"apiMode": "chat_completions",
|
|
154
|
+
"authType": "none",
|
|
155
|
+
"baseUrl": "http://localhost:11434/v1",
|
|
156
|
+
"envVars": [],
|
|
157
|
+
"fallbackModels": ["llama3.2"],
|
|
158
|
+
"capabilities": {
|
|
159
|
+
"supportsToolUse": true,
|
|
160
|
+
"supportsVision": true,
|
|
161
|
+
"supportsStructuredOutput": true,
|
|
162
|
+
"supportsStreaming": true,
|
|
163
|
+
"supportsCacheControl": false
|
|
164
|
+
},
|
|
165
|
+
"aliases": ["ollama"]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"id": "lmstudio",
|
|
169
|
+
"displayName": "LM Studio",
|
|
170
|
+
"apiMode": "chat_completions",
|
|
171
|
+
"authType": "none",
|
|
172
|
+
"baseUrl": "http://localhost:1234/v1",
|
|
173
|
+
"envVars": [],
|
|
174
|
+
"fallbackModels": ["lmstudio-community/default"],
|
|
175
|
+
"capabilities": {
|
|
176
|
+
"supportsToolUse": true,
|
|
177
|
+
"supportsVision": false,
|
|
178
|
+
"supportsStructuredOutput": true,
|
|
179
|
+
"supportsStreaming": true,
|
|
180
|
+
"supportsCacheControl": false
|
|
181
|
+
},
|
|
182
|
+
"aliases": ["lmstudio"]
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"id": "llamacpp",
|
|
186
|
+
"displayName": "llama.cpp",
|
|
187
|
+
"apiMode": "chat_completions",
|
|
188
|
+
"authType": "none",
|
|
189
|
+
"baseUrl": "http://localhost:8080/v1",
|
|
190
|
+
"envVars": [],
|
|
191
|
+
"fallbackModels": ["default"],
|
|
192
|
+
"capabilities": {
|
|
193
|
+
"supportsToolUse": true,
|
|
194
|
+
"supportsVision": false,
|
|
195
|
+
"supportsStructuredOutput": false,
|
|
196
|
+
"supportsStreaming": true,
|
|
197
|
+
"supportsCacheControl": false
|
|
198
|
+
},
|
|
199
|
+
"aliases": ["llamacpp"]
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"id": "bedrock",
|
|
203
|
+
"displayName": "AWS Bedrock",
|
|
204
|
+
"apiMode": "bedrock",
|
|
205
|
+
"authType": "aws_sdk",
|
|
206
|
+
"baseUrl": "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
207
|
+
"envVars": ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY"],
|
|
208
|
+
"fallbackModels": ["anthropic.claude-3-5-sonnet-20241022-v2:0"],
|
|
209
|
+
"capabilities": {
|
|
210
|
+
"supportsToolUse": true,
|
|
211
|
+
"supportsVision": true,
|
|
212
|
+
"supportsStructuredOutput": false,
|
|
213
|
+
"supportsStreaming": true,
|
|
214
|
+
"supportsCacheControl": true
|
|
215
|
+
},
|
|
216
|
+
"aliases": ["bedrock"]
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"id": "vertex",
|
|
220
|
+
"displayName": "Google Vertex AI",
|
|
221
|
+
"apiMode": "chat_completions",
|
|
222
|
+
"authType": "gcp_oauth",
|
|
223
|
+
"baseUrl": "https://us-central1-aiplatform.googleapis.com/v1",
|
|
224
|
+
"envVars": ["GOOGLE_APPLICATION_CREDENTIALS"],
|
|
225
|
+
"fallbackModels": ["gemini-1.5-pro"],
|
|
226
|
+
"capabilities": {
|
|
227
|
+
"supportsToolUse": true,
|
|
228
|
+
"supportsVision": true,
|
|
229
|
+
"supportsStructuredOutput": true,
|
|
230
|
+
"supportsStreaming": true,
|
|
231
|
+
"supportsCacheControl": false
|
|
232
|
+
},
|
|
233
|
+
"aliases": ["vertex"]
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"id": "cohere",
|
|
237
|
+
"displayName": "Cohere",
|
|
238
|
+
"apiMode": "chat_completions",
|
|
239
|
+
"authType": "api_key",
|
|
240
|
+
"baseUrl": "https://api.cohere.com/v2",
|
|
241
|
+
"envVars": ["COHERE_API_KEY"],
|
|
242
|
+
"fallbackModels": ["command-r-plus"],
|
|
243
|
+
"capabilities": {
|
|
244
|
+
"supportsToolUse": true,
|
|
245
|
+
"supportsVision": false,
|
|
246
|
+
"supportsStructuredOutput": true,
|
|
247
|
+
"supportsStreaming": true,
|
|
248
|
+
"supportsCacheControl": false
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"id": "perplexity",
|
|
253
|
+
"displayName": "Perplexity",
|
|
254
|
+
"apiMode": "chat_completions",
|
|
255
|
+
"authType": "api_key",
|
|
256
|
+
"baseUrl": "https://api.perplexity.ai",
|
|
257
|
+
"envVars": ["PERPLEXITY_API_KEY"],
|
|
258
|
+
"fallbackModels": ["llama-3.1-sonar-large-128k-online"],
|
|
259
|
+
"capabilities": {
|
|
260
|
+
"supportsToolUse": false,
|
|
261
|
+
"supportsVision": false,
|
|
262
|
+
"supportsStructuredOutput": false,
|
|
263
|
+
"supportsStreaming": true,
|
|
264
|
+
"supportsCacheControl": false
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"id": "xai",
|
|
269
|
+
"displayName": "xAI (Grok)",
|
|
270
|
+
"apiMode": "chat_completions",
|
|
271
|
+
"authType": "api_key",
|
|
272
|
+
"baseUrl": "https://api.x.ai/v1",
|
|
273
|
+
"envVars": ["XAI_API_KEY"],
|
|
274
|
+
"fallbackModels": ["grok-2"],
|
|
275
|
+
"capabilities": {
|
|
276
|
+
"supportsToolUse": true,
|
|
277
|
+
"supportsVision": true,
|
|
278
|
+
"supportsStructuredOutput": true,
|
|
279
|
+
"supportsStreaming": true,
|
|
280
|
+
"supportsCacheControl": false
|
|
281
|
+
},
|
|
282
|
+
"aliases": ["grok"]
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"id": "sambanova",
|
|
286
|
+
"displayName": "SambaNova",
|
|
287
|
+
"apiMode": "chat_completions",
|
|
288
|
+
"authType": "api_key",
|
|
289
|
+
"baseUrl": "https://api.sambanova.ai/v1",
|
|
290
|
+
"envVars": ["SAMBANOVA_API_KEY"],
|
|
291
|
+
"fallbackModels": ["Meta-Llama-3.1-70B-Instruct"],
|
|
292
|
+
"capabilities": {
|
|
293
|
+
"supportsToolUse": true,
|
|
294
|
+
"supportsVision": false,
|
|
295
|
+
"supportsStructuredOutput": true,
|
|
296
|
+
"supportsStreaming": true,
|
|
297
|
+
"supportsCacheControl": false
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"id": "cerebras",
|
|
302
|
+
"displayName": "Cerebras",
|
|
303
|
+
"apiMode": "chat_completions",
|
|
304
|
+
"authType": "api_key",
|
|
305
|
+
"baseUrl": "https://api.cerebras.ai/v1",
|
|
306
|
+
"envVars": ["CEREBRAS_API_KEY"],
|
|
307
|
+
"fallbackModels": ["llama3.1-70b"],
|
|
308
|
+
"capabilities": {
|
|
309
|
+
"supportsToolUse": true,
|
|
310
|
+
"supportsVision": false,
|
|
311
|
+
"supportsStructuredOutput": true,
|
|
312
|
+
"supportsStreaming": true,
|
|
313
|
+
"supportsCacheControl": false
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"id": "deepinfra",
|
|
318
|
+
"displayName": "DeepInfra",
|
|
319
|
+
"apiMode": "chat_completions",
|
|
320
|
+
"authType": "api_key",
|
|
321
|
+
"baseUrl": "https://api.deepinfra.com/v1/openai",
|
|
322
|
+
"envVars": ["DEEPINFRA_API_KEY"],
|
|
323
|
+
"fallbackModels": ["meta-llama/Meta-Llama-3.1-70B-Instruct"],
|
|
324
|
+
"capabilities": {
|
|
325
|
+
"supportsToolUse": true,
|
|
326
|
+
"supportsVision": true,
|
|
327
|
+
"supportsStructuredOutput": true,
|
|
328
|
+
"supportsStreaming": true,
|
|
329
|
+
"supportsCacheControl": false
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"id": "huggingface",
|
|
334
|
+
"displayName": "Hugging Face",
|
|
335
|
+
"apiMode": "chat_completions",
|
|
336
|
+
"authType": "api_key",
|
|
337
|
+
"baseUrl": "https://api-inference.huggingface.co/v1",
|
|
338
|
+
"envVars": ["HF_TOKEN", "HUGGINGFACE_API_KEY"],
|
|
339
|
+
"fallbackModels": ["meta-llama/Llama-3.2-3B-Instruct"],
|
|
340
|
+
"capabilities": {
|
|
341
|
+
"supportsToolUse": true,
|
|
342
|
+
"supportsVision": false,
|
|
343
|
+
"supportsStructuredOutput": false,
|
|
344
|
+
"supportsStreaming": true,
|
|
345
|
+
"supportsCacheControl": false
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"id": "nvidia",
|
|
350
|
+
"displayName": "NVIDIA NIM",
|
|
351
|
+
"apiMode": "chat_completions",
|
|
352
|
+
"authType": "api_key",
|
|
353
|
+
"baseUrl": "https://integrate.api.nvidia.com/v1",
|
|
354
|
+
"envVars": ["NVIDIA_API_KEY"],
|
|
355
|
+
"fallbackModels": ["meta/llama-3.1-70b-instruct"],
|
|
356
|
+
"capabilities": {
|
|
357
|
+
"supportsToolUse": true,
|
|
358
|
+
"supportsVision": true,
|
|
359
|
+
"supportsStructuredOutput": true,
|
|
360
|
+
"supportsStreaming": true,
|
|
361
|
+
"supportsCacheControl": false
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
"id": "lepton",
|
|
366
|
+
"displayName": "Lepton AI",
|
|
367
|
+
"apiMode": "chat_completions",
|
|
368
|
+
"authType": "api_key",
|
|
369
|
+
"baseUrl": "https://llama3-1-70b.lepton.run/api/v1",
|
|
370
|
+
"envVars": ["LEPTON_API_KEY"],
|
|
371
|
+
"fallbackModels": ["llama3-1-70b"],
|
|
372
|
+
"capabilities": {
|
|
373
|
+
"supportsToolUse": true,
|
|
374
|
+
"supportsVision": false,
|
|
375
|
+
"supportsStructuredOutput": false,
|
|
376
|
+
"supportsStreaming": true,
|
|
377
|
+
"supportsCacheControl": false
|
|
378
|
+
}
|
|
379
|
+
},
|
|
380
|
+
{
|
|
381
|
+
"id": "anyscale",
|
|
382
|
+
"displayName": "Anyscale",
|
|
383
|
+
"apiMode": "chat_completions",
|
|
384
|
+
"authType": "api_key",
|
|
385
|
+
"baseUrl": "https://api.endpoints.anyscale.com/v1",
|
|
386
|
+
"envVars": ["ANYSCALE_API_KEY"],
|
|
387
|
+
"fallbackModels": ["meta-llama/Meta-Llama-3-70B-Instruct"],
|
|
388
|
+
"capabilities": {
|
|
389
|
+
"supportsToolUse": true,
|
|
390
|
+
"supportsVision": false,
|
|
391
|
+
"supportsStructuredOutput": true,
|
|
392
|
+
"supportsStreaming": true,
|
|
393
|
+
"supportsCacheControl": false
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"id": "replicate",
|
|
398
|
+
"displayName": "Replicate",
|
|
399
|
+
"apiMode": "chat_completions",
|
|
400
|
+
"authType": "api_key",
|
|
401
|
+
"baseUrl": "https://openai-proxy.replicate.com/v1",
|
|
402
|
+
"envVars": ["REPLICATE_API_TOKEN"],
|
|
403
|
+
"fallbackModels": ["meta/meta-llama-3-70b-instruct"],
|
|
404
|
+
"capabilities": {
|
|
405
|
+
"supportsToolUse": false,
|
|
406
|
+
"supportsVision": true,
|
|
407
|
+
"supportsStructuredOutput": false,
|
|
408
|
+
"supportsStreaming": true,
|
|
409
|
+
"supportsCacheControl": false
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"id": "ai21",
|
|
414
|
+
"displayName": "AI21 Labs",
|
|
415
|
+
"apiMode": "chat_completions",
|
|
416
|
+
"authType": "api_key",
|
|
417
|
+
"baseUrl": "https://api.ai21.com/studio/v1",
|
|
418
|
+
"envVars": ["AI21_API_KEY"],
|
|
419
|
+
"fallbackModels": ["jamba-1.5-large"],
|
|
420
|
+
"capabilities": {
|
|
421
|
+
"supportsToolUse": true,
|
|
422
|
+
"supportsVision": false,
|
|
423
|
+
"supportsStructuredOutput": true,
|
|
424
|
+
"supportsStreaming": true,
|
|
425
|
+
"supportsCacheControl": false
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"id": "aleph-alpha",
|
|
430
|
+
"displayName": "Aleph Alpha",
|
|
431
|
+
"apiMode": "chat_completions",
|
|
432
|
+
"authType": "api_key",
|
|
433
|
+
"baseUrl": "https://api.aleph-alpha.com/v1",
|
|
434
|
+
"envVars": ["ALEPH_ALPHA_API_KEY"],
|
|
435
|
+
"fallbackModels": ["luminous-extended"],
|
|
436
|
+
"capabilities": {
|
|
437
|
+
"supportsToolUse": false,
|
|
438
|
+
"supportsVision": false,
|
|
439
|
+
"supportsStructuredOutput": false,
|
|
440
|
+
"supportsStreaming": true,
|
|
441
|
+
"supportsCacheControl": false
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"id": "cloudflare",
|
|
446
|
+
"displayName": "Cloudflare Workers AI",
|
|
447
|
+
"apiMode": "chat_completions",
|
|
448
|
+
"authType": "api_key",
|
|
449
|
+
"baseUrl": "https://api.cloudflare.com/client/v4/accounts/{account_id}/ai/v1",
|
|
450
|
+
"envVars": ["CLOUDFLARE_API_TOKEN", "CLOUDFLARE_ACCOUNT_ID"],
|
|
451
|
+
"fallbackModels": ["@cf/meta/llama-3.1-70b-instruct"],
|
|
452
|
+
"capabilities": {
|
|
453
|
+
"supportsToolUse": true,
|
|
454
|
+
"supportsVision": false,
|
|
455
|
+
"supportsStructuredOutput": false,
|
|
456
|
+
"supportsStreaming": true,
|
|
457
|
+
"supportsCacheControl": false
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"id": "azure-openai",
|
|
462
|
+
"displayName": "Azure OpenAI",
|
|
463
|
+
"apiMode": "chat_completions",
|
|
464
|
+
"authType": "api_key",
|
|
465
|
+
"baseUrl": "https://{resource}.openai.azure.com/openai/deployments/{deployment}",
|
|
466
|
+
"envVars": ["AZURE_OPENAI_API_KEY", "AZURE_OPENAI_ENDPOINT"],
|
|
467
|
+
"fallbackModels": ["gpt-4o"],
|
|
468
|
+
"capabilities": {
|
|
469
|
+
"supportsToolUse": true,
|
|
470
|
+
"supportsVision": true,
|
|
471
|
+
"supportsStructuredOutput": true,
|
|
472
|
+
"supportsStreaming": true,
|
|
473
|
+
"supportsCacheControl": false
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"id": "github-models",
|
|
478
|
+
"displayName": "GitHub Models",
|
|
479
|
+
"apiMode": "chat_completions",
|
|
480
|
+
"authType": "api_key",
|
|
481
|
+
"baseUrl": "https://models.inference.ai.azure.com",
|
|
482
|
+
"envVars": ["GITHUB_TOKEN"],
|
|
483
|
+
"fallbackModels": ["gpt-4o-mini"],
|
|
484
|
+
"capabilities": {
|
|
485
|
+
"supportsToolUse": true,
|
|
486
|
+
"supportsVision": true,
|
|
487
|
+
"supportsStructuredOutput": true,
|
|
488
|
+
"supportsStreaming": true,
|
|
489
|
+
"supportsCacheControl": false
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"id": "hyperbolic",
|
|
494
|
+
"displayName": "Hyperbolic",
|
|
495
|
+
"apiMode": "chat_completions",
|
|
496
|
+
"authType": "api_key",
|
|
497
|
+
"baseUrl": "https://api.hyperbolic.xyz/v1",
|
|
498
|
+
"envVars": ["HYPERBOLIC_API_KEY"],
|
|
499
|
+
"fallbackModels": ["meta-llama/Meta-Llama-3.1-70B-Instruct"],
|
|
500
|
+
"capabilities": {
|
|
501
|
+
"supportsToolUse": true,
|
|
502
|
+
"supportsVision": false,
|
|
503
|
+
"supportsStructuredOutput": true,
|
|
504
|
+
"supportsStreaming": true,
|
|
505
|
+
"supportsCacheControl": false
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"id": "novita",
|
|
510
|
+
"displayName": "Novita AI",
|
|
511
|
+
"apiMode": "chat_completions",
|
|
512
|
+
"authType": "api_key",
|
|
513
|
+
"baseUrl": "https://api.novita.ai/v3/openai",
|
|
514
|
+
"envVars": ["NOVITA_API_KEY"],
|
|
515
|
+
"fallbackModels": ["meta-llama/llama-3.1-70b-instruct"],
|
|
516
|
+
"capabilities": {
|
|
517
|
+
"supportsToolUse": true,
|
|
518
|
+
"supportsVision": false,
|
|
519
|
+
"supportsStructuredOutput": true,
|
|
520
|
+
"supportsStreaming": true,
|
|
521
|
+
"supportsCacheControl": false
|
|
522
|
+
}
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"id": "moonshot",
|
|
526
|
+
"displayName": "Moonshot (Kimi)",
|
|
527
|
+
"apiMode": "chat_completions",
|
|
528
|
+
"authType": "api_key",
|
|
529
|
+
"baseUrl": "https://api.moonshot.cn/v1",
|
|
530
|
+
"envVars": ["MOONSHOT_API_KEY"],
|
|
531
|
+
"fallbackModels": ["moonshot-v1-8k"],
|
|
532
|
+
"capabilities": {
|
|
533
|
+
"supportsToolUse": true,
|
|
534
|
+
"supportsVision": false,
|
|
535
|
+
"supportsStructuredOutput": false,
|
|
536
|
+
"supportsStreaming": true,
|
|
537
|
+
"supportsCacheControl": false
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"id": "qwen",
|
|
542
|
+
"displayName": "Qwen (Alibaba)",
|
|
543
|
+
"apiMode": "chat_completions",
|
|
544
|
+
"authType": "api_key",
|
|
545
|
+
"baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
|
546
|
+
"envVars": ["DASHSCOPE_API_KEY"],
|
|
547
|
+
"fallbackModels": ["qwen-plus"],
|
|
548
|
+
"capabilities": {
|
|
549
|
+
"supportsToolUse": true,
|
|
550
|
+
"supportsVision": true,
|
|
551
|
+
"supportsStructuredOutput": true,
|
|
552
|
+
"supportsStreaming": true,
|
|
553
|
+
"supportsCacheControl": false
|
|
554
|
+
},
|
|
555
|
+
"aliases": ["dashscope"]
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"id": "zhipu",
|
|
559
|
+
"displayName": "Zhipu AI (GLM)",
|
|
560
|
+
"apiMode": "chat_completions",
|
|
561
|
+
"authType": "api_key",
|
|
562
|
+
"baseUrl": "https://open.bigmodel.cn/api/paas/v4",
|
|
563
|
+
"envVars": ["ZHIPU_API_KEY"],
|
|
564
|
+
"fallbackModels": ["glm-4-plus"],
|
|
565
|
+
"capabilities": {
|
|
566
|
+
"supportsToolUse": true,
|
|
567
|
+
"supportsVision": true,
|
|
568
|
+
"supportsStructuredOutput": true,
|
|
569
|
+
"supportsStreaming": true,
|
|
570
|
+
"supportsCacheControl": false
|
|
571
|
+
},
|
|
572
|
+
"aliases": ["glm"]
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"id": "minimax",
|
|
576
|
+
"displayName": "MiniMax",
|
|
577
|
+
"apiMode": "chat_completions",
|
|
578
|
+
"authType": "api_key",
|
|
579
|
+
"baseUrl": "https://api.minimax.chat/v1",
|
|
580
|
+
"envVars": ["MINIMAX_API_KEY"],
|
|
581
|
+
"fallbackModels": ["MiniMax-Text-01"],
|
|
582
|
+
"capabilities": {
|
|
583
|
+
"supportsToolUse": true,
|
|
584
|
+
"supportsVision": false,
|
|
585
|
+
"supportsStructuredOutput": false,
|
|
586
|
+
"supportsStreaming": true,
|
|
587
|
+
"supportsCacheControl": false
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"id": "baichuan",
|
|
592
|
+
"displayName": "Baichuan",
|
|
593
|
+
"apiMode": "chat_completions",
|
|
594
|
+
"authType": "api_key",
|
|
595
|
+
"baseUrl": "https://api.baichuan-ai.com/v1",
|
|
596
|
+
"envVars": ["BAICHUAN_API_KEY"],
|
|
597
|
+
"fallbackModels": ["Baichuan4"],
|
|
598
|
+
"capabilities": {
|
|
599
|
+
"supportsToolUse": true,
|
|
600
|
+
"supportsVision": false,
|
|
601
|
+
"supportsStructuredOutput": false,
|
|
602
|
+
"supportsStreaming": true,
|
|
603
|
+
"supportsCacheControl": false
|
|
604
|
+
}
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"id": "voyage",
|
|
608
|
+
"displayName": "Voyage AI",
|
|
609
|
+
"apiMode": "chat_completions",
|
|
610
|
+
"authType": "api_key",
|
|
611
|
+
"baseUrl": "https://api.voyageai.com/v1",
|
|
612
|
+
"envVars": ["VOYAGE_API_KEY"],
|
|
613
|
+
"fallbackModels": ["voyage-3"],
|
|
614
|
+
"capabilities": {
|
|
615
|
+
"supportsToolUse": false,
|
|
616
|
+
"supportsVision": false,
|
|
617
|
+
"supportsStructuredOutput": false,
|
|
618
|
+
"supportsStreaming": false,
|
|
619
|
+
"supportsCacheControl": false
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"id": "jina",
|
|
624
|
+
"displayName": "Jina AI",
|
|
625
|
+
"apiMode": "chat_completions",
|
|
626
|
+
"authType": "api_key",
|
|
627
|
+
"baseUrl": "https://api.jina.ai/v1",
|
|
628
|
+
"envVars": ["JINA_API_KEY"],
|
|
629
|
+
"fallbackModels": ["jina-embeddings-v3"],
|
|
630
|
+
"capabilities": {
|
|
631
|
+
"supportsToolUse": false,
|
|
632
|
+
"supportsVision": false,
|
|
633
|
+
"supportsStructuredOutput": false,
|
|
634
|
+
"supportsStreaming": false,
|
|
635
|
+
"supportsCacheControl": false
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"id": "helicone",
|
|
640
|
+
"displayName": "Helicone (Gateway)",
|
|
641
|
+
"apiMode": "chat_completions",
|
|
642
|
+
"authType": "api_key",
|
|
643
|
+
"baseUrl": "https://oai.helicone.ai/v1",
|
|
644
|
+
"envVars": ["HELICONE_API_KEY", "OPENAI_API_KEY"],
|
|
645
|
+
"fallbackModels": ["gpt-4o-mini"],
|
|
646
|
+
"capabilities": {
|
|
647
|
+
"supportsToolUse": true,
|
|
648
|
+
"supportsVision": true,
|
|
649
|
+
"supportsStructuredOutput": true,
|
|
650
|
+
"supportsStreaming": true,
|
|
651
|
+
"supportsCacheControl": false
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"id": "portkey",
|
|
656
|
+
"displayName": "Portkey (Gateway)",
|
|
657
|
+
"apiMode": "chat_completions",
|
|
658
|
+
"authType": "api_key",
|
|
659
|
+
"baseUrl": "https://api.portkey.ai/v1",
|
|
660
|
+
"envVars": ["PORTKEY_API_KEY"],
|
|
661
|
+
"fallbackModels": ["gpt-4o-mini"],
|
|
662
|
+
"capabilities": {
|
|
663
|
+
"supportsToolUse": true,
|
|
664
|
+
"supportsVision": true,
|
|
665
|
+
"supportsStructuredOutput": true,
|
|
666
|
+
"supportsStreaming": true,
|
|
667
|
+
"supportsCacheControl": false
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"id": "baseten",
|
|
672
|
+
"displayName": "Baseten",
|
|
673
|
+
"apiMode": "chat_completions",
|
|
674
|
+
"authType": "api_key",
|
|
675
|
+
"baseUrl": "https://bridge.baseten.co/v1",
|
|
676
|
+
"envVars": ["BASETEN_API_KEY"],
|
|
677
|
+
"fallbackModels": ["meta-llama/Meta-Llama-3-70B-Instruct"],
|
|
678
|
+
"capabilities": {
|
|
679
|
+
"supportsToolUse": true,
|
|
680
|
+
"supportsVision": false,
|
|
681
|
+
"supportsStructuredOutput": true,
|
|
682
|
+
"supportsStreaming": true,
|
|
683
|
+
"supportsCacheControl": false
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"id": "modal",
|
|
688
|
+
"displayName": "Modal",
|
|
689
|
+
"apiMode": "chat_completions",
|
|
690
|
+
"authType": "api_key",
|
|
691
|
+
"baseUrl": "https://api.modal.com/v1",
|
|
692
|
+
"envVars": ["MODAL_TOKEN_ID", "MODAL_TOKEN_SECRET"],
|
|
693
|
+
"fallbackModels": ["meta-llama/Meta-Llama-3-70B-Instruct"],
|
|
694
|
+
"capabilities": {
|
|
695
|
+
"supportsToolUse": true,
|
|
696
|
+
"supportsVision": false,
|
|
697
|
+
"supportsStructuredOutput": false,
|
|
698
|
+
"supportsStreaming": true,
|
|
699
|
+
"supportsCacheControl": false
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
]
|