@klex/agent-admin-api 0.12.0 → 0.13.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/dist/index.d.ts +87 -27
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -198,6 +198,17 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
198
198
|
};
|
|
199
199
|
} | undefined;
|
|
200
200
|
}[];
|
|
201
|
+
instincts: {
|
|
202
|
+
providerId: string;
|
|
203
|
+
modelId: string;
|
|
204
|
+
providerOptions?: {
|
|
205
|
+
[x: string]: {
|
|
206
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
207
|
+
};
|
|
208
|
+
} | undefined;
|
|
209
|
+
api: "evaluation" | "generation";
|
|
210
|
+
attemptTimeoutMs?: number | undefined;
|
|
211
|
+
}[];
|
|
201
212
|
voice: {
|
|
202
213
|
sts: {
|
|
203
214
|
providerId: string;
|
|
@@ -276,6 +287,13 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
276
287
|
modelId: string;
|
|
277
288
|
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
278
289
|
}[] | undefined;
|
|
290
|
+
instincts?: {
|
|
291
|
+
providerId: string;
|
|
292
|
+
modelId: string;
|
|
293
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
294
|
+
api?: "evaluation" | "generation" | undefined;
|
|
295
|
+
attemptTimeoutMs?: number | undefined;
|
|
296
|
+
}[] | undefined;
|
|
279
297
|
voice?: {
|
|
280
298
|
sts: {
|
|
281
299
|
providerId: string;
|
|
@@ -336,6 +354,13 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
336
354
|
modelId: string;
|
|
337
355
|
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
338
356
|
}[] | undefined;
|
|
357
|
+
instincts?: {
|
|
358
|
+
providerId: string;
|
|
359
|
+
modelId: string;
|
|
360
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
361
|
+
api?: "evaluation" | "generation" | undefined;
|
|
362
|
+
attemptTimeoutMs?: number | undefined;
|
|
363
|
+
}[] | undefined;
|
|
339
364
|
voice?: {
|
|
340
365
|
sts: {
|
|
341
366
|
providerId: string;
|
|
@@ -412,6 +437,17 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
412
437
|
};
|
|
413
438
|
} | undefined;
|
|
414
439
|
}[];
|
|
440
|
+
instincts: {
|
|
441
|
+
providerId: string;
|
|
442
|
+
modelId: string;
|
|
443
|
+
providerOptions?: {
|
|
444
|
+
[x: string]: {
|
|
445
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
446
|
+
};
|
|
447
|
+
} | undefined;
|
|
448
|
+
api: "evaluation" | "generation";
|
|
449
|
+
attemptTimeoutMs?: number | undefined;
|
|
450
|
+
}[];
|
|
415
451
|
voice: {
|
|
416
452
|
sts: {
|
|
417
453
|
providerId: string;
|
|
@@ -481,6 +517,13 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
481
517
|
modelId: string;
|
|
482
518
|
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
483
519
|
}[] | undefined;
|
|
520
|
+
instincts?: {
|
|
521
|
+
providerId: string;
|
|
522
|
+
modelId: string;
|
|
523
|
+
providerOptions?: Record<string, Record<string, unknown>> | undefined;
|
|
524
|
+
api?: "evaluation" | "generation" | undefined;
|
|
525
|
+
attemptTimeoutMs?: number | undefined;
|
|
526
|
+
}[] | undefined;
|
|
484
527
|
voice?: {
|
|
485
528
|
sts: {
|
|
486
529
|
providerId: string;
|
|
@@ -1387,7 +1430,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1387
1430
|
extensionIdentifier?: string | undefined;
|
|
1388
1431
|
kind: "child" | "default" | "god";
|
|
1389
1432
|
parentId: string | null;
|
|
1390
|
-
modelPurpose: "audioListening" | "chat" | "compaction" | "consult" | "imageVision" | "memory";
|
|
1433
|
+
modelPurpose: "audioListening" | "chat" | "compaction" | "consult" | "imageVision" | "instincts" | "memory";
|
|
1391
1434
|
id: string;
|
|
1392
1435
|
status: "active" | "terminated";
|
|
1393
1436
|
runtimeState: "idle" | "leased" | "retrying" | "success" | "terminated" | "working";
|
|
@@ -1785,6 +1828,11 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1785
1828
|
bucket: string | null;
|
|
1786
1829
|
splitKey: string | null;
|
|
1787
1830
|
callCount: number;
|
|
1831
|
+
api: "evaluation" | "generation" | null;
|
|
1832
|
+
tokenUsageReported: boolean | null;
|
|
1833
|
+
cacheUsageReported: boolean | null;
|
|
1834
|
+
tokenUsageUnreportedCount: number;
|
|
1835
|
+
cacheUsageUnreportedCount: number;
|
|
1788
1836
|
inputTokens: number;
|
|
1789
1837
|
outputTokens: number;
|
|
1790
1838
|
inputCacheWriteTokens: number;
|
|
@@ -1999,8 +2047,10 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
1999
2047
|
voicePreview: boolean;
|
|
2000
2048
|
connectivityTest: boolean;
|
|
2001
2049
|
customModels: boolean;
|
|
2050
|
+
generation: boolean;
|
|
2051
|
+
evaluation: boolean;
|
|
2002
2052
|
};
|
|
2003
|
-
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
2053
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
|
|
2004
2054
|
settingsSchema: {
|
|
2005
2055
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2006
2056
|
};
|
|
@@ -2023,7 +2073,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2023
2073
|
status: 400;
|
|
2024
2074
|
input: {
|
|
2025
2075
|
param: {
|
|
2026
|
-
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
2076
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
|
|
2027
2077
|
};
|
|
2028
2078
|
} & {
|
|
2029
2079
|
json: {
|
|
@@ -2040,7 +2090,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2040
2090
|
status: 500;
|
|
2041
2091
|
input: {
|
|
2042
2092
|
param: {
|
|
2043
|
-
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
2093
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
|
|
2044
2094
|
};
|
|
2045
2095
|
} & {
|
|
2046
2096
|
json: {
|
|
@@ -2054,7 +2104,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2054
2104
|
message?: string | undefined;
|
|
2055
2105
|
provider?: {
|
|
2056
2106
|
id: string;
|
|
2057
|
-
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
2107
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
|
|
2058
2108
|
metadata: {
|
|
2059
2109
|
displayName: string;
|
|
2060
2110
|
description: string;
|
|
@@ -2066,6 +2116,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2066
2116
|
voicePreview: boolean;
|
|
2067
2117
|
connectivityTest: boolean;
|
|
2068
2118
|
customModels: boolean;
|
|
2119
|
+
generation: boolean;
|
|
2120
|
+
evaluation: boolean;
|
|
2069
2121
|
};
|
|
2070
2122
|
};
|
|
2071
2123
|
settings: {
|
|
@@ -2091,7 +2143,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2091
2143
|
status: 200;
|
|
2092
2144
|
input: {
|
|
2093
2145
|
param: {
|
|
2094
|
-
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
2146
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
|
|
2095
2147
|
};
|
|
2096
2148
|
} & {
|
|
2097
2149
|
json: {
|
|
@@ -2106,7 +2158,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2106
2158
|
output: {
|
|
2107
2159
|
providers: {
|
|
2108
2160
|
id: string;
|
|
2109
|
-
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
2161
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
|
|
2110
2162
|
metadata: {
|
|
2111
2163
|
displayName: string;
|
|
2112
2164
|
description: string;
|
|
@@ -2118,6 +2170,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2118
2170
|
voicePreview: boolean;
|
|
2119
2171
|
connectivityTest: boolean;
|
|
2120
2172
|
customModels: boolean;
|
|
2173
|
+
generation: boolean;
|
|
2174
|
+
evaluation: boolean;
|
|
2121
2175
|
};
|
|
2122
2176
|
};
|
|
2123
2177
|
settings: {
|
|
@@ -2157,7 +2211,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2157
2211
|
input: {
|
|
2158
2212
|
json: {
|
|
2159
2213
|
id: string;
|
|
2160
|
-
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
2214
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
|
|
2161
2215
|
settings: Record<string, unknown>;
|
|
2162
2216
|
};
|
|
2163
2217
|
};
|
|
@@ -2172,7 +2226,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2172
2226
|
input: {
|
|
2173
2227
|
json: {
|
|
2174
2228
|
id: string;
|
|
2175
|
-
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
2229
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
|
|
2176
2230
|
settings: Record<string, unknown>;
|
|
2177
2231
|
};
|
|
2178
2232
|
};
|
|
@@ -2187,7 +2241,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2187
2241
|
input: {
|
|
2188
2242
|
json: {
|
|
2189
2243
|
id: string;
|
|
2190
|
-
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
2244
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
|
|
2191
2245
|
settings: Record<string, unknown>;
|
|
2192
2246
|
};
|
|
2193
2247
|
};
|
|
@@ -2198,7 +2252,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2198
2252
|
message?: string | undefined;
|
|
2199
2253
|
provider?: {
|
|
2200
2254
|
id: string;
|
|
2201
|
-
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
2255
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
|
|
2202
2256
|
metadata: {
|
|
2203
2257
|
displayName: string;
|
|
2204
2258
|
description: string;
|
|
@@ -2210,6 +2264,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2210
2264
|
voicePreview: boolean;
|
|
2211
2265
|
connectivityTest: boolean;
|
|
2212
2266
|
customModels: boolean;
|
|
2267
|
+
generation: boolean;
|
|
2268
|
+
evaluation: boolean;
|
|
2213
2269
|
};
|
|
2214
2270
|
};
|
|
2215
2271
|
settings: {
|
|
@@ -2236,7 +2292,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2236
2292
|
input: {
|
|
2237
2293
|
json: {
|
|
2238
2294
|
id: string;
|
|
2239
|
-
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
2295
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
|
|
2240
2296
|
settings: Record<string, unknown>;
|
|
2241
2297
|
};
|
|
2242
2298
|
};
|
|
@@ -2302,7 +2358,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2302
2358
|
message?: string | undefined;
|
|
2303
2359
|
provider?: {
|
|
2304
2360
|
id: string;
|
|
2305
|
-
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
2361
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
|
|
2306
2362
|
metadata: {
|
|
2307
2363
|
displayName: string;
|
|
2308
2364
|
description: string;
|
|
@@ -2314,6 +2370,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2314
2370
|
voicePreview: boolean;
|
|
2315
2371
|
connectivityTest: boolean;
|
|
2316
2372
|
customModels: boolean;
|
|
2373
|
+
generation: boolean;
|
|
2374
|
+
evaluation: boolean;
|
|
2317
2375
|
};
|
|
2318
2376
|
};
|
|
2319
2377
|
settings: {
|
|
@@ -2409,7 +2467,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2409
2467
|
message?: string | undefined;
|
|
2410
2468
|
provider?: {
|
|
2411
2469
|
id: string;
|
|
2412
|
-
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "xai" | "xiaomi-mimo" | "zai";
|
|
2470
|
+
type: "alibaba-qwen" | "amazon-bedrock" | "anthropic" | "anthropic-messages" | "azure-openai" | "chat-completions" | "chatgpt-codex-subscription" | "deepseek" | "glm-coding-plan" | "google-gemini" | "google-generative" | "google-vertex" | "minimax" | "minimax-coding-plan" | "mistral" | "moonshot" | "ollama" | "openai" | "opencode-go" | "opencode-zen" | "openrouter" | "responses" | "typesafe-ai" | "vercel-ai-gateway" | "xai" | "xiaomi-mimo" | "zai";
|
|
2413
2471
|
metadata: {
|
|
2414
2472
|
displayName: string;
|
|
2415
2473
|
description: string;
|
|
@@ -2421,6 +2479,8 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2421
2479
|
voicePreview: boolean;
|
|
2422
2480
|
connectivityTest: boolean;
|
|
2423
2481
|
customModels: boolean;
|
|
2482
|
+
generation: boolean;
|
|
2483
|
+
evaluation: boolean;
|
|
2424
2484
|
};
|
|
2425
2485
|
};
|
|
2426
2486
|
settings: {
|
|
@@ -2563,7 +2623,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2563
2623
|
output: {
|
|
2564
2624
|
models: {
|
|
2565
2625
|
modelId: string;
|
|
2566
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2626
|
+
kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2567
2627
|
displayName?: string | undefined;
|
|
2568
2628
|
contextSize?: number | undefined;
|
|
2569
2629
|
capabilities?: {
|
|
@@ -2853,7 +2913,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2853
2913
|
} & {
|
|
2854
2914
|
json: {
|
|
2855
2915
|
modelId: string;
|
|
2856
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2916
|
+
kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2857
2917
|
displayName?: string | undefined;
|
|
2858
2918
|
contextSize?: number | undefined;
|
|
2859
2919
|
capabilities?: {
|
|
@@ -2896,7 +2956,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2896
2956
|
} & {
|
|
2897
2957
|
json: {
|
|
2898
2958
|
modelId: string;
|
|
2899
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2959
|
+
kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2900
2960
|
displayName?: string | undefined;
|
|
2901
2961
|
contextSize?: number | undefined;
|
|
2902
2962
|
capabilities?: {
|
|
@@ -2939,7 +2999,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2939
2999
|
} & {
|
|
2940
3000
|
json: {
|
|
2941
3001
|
modelId: string;
|
|
2942
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3002
|
+
kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2943
3003
|
displayName?: string | undefined;
|
|
2944
3004
|
contextSize?: number | undefined;
|
|
2945
3005
|
capabilities?: {
|
|
@@ -2982,7 +3042,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
2982
3042
|
} & {
|
|
2983
3043
|
json: {
|
|
2984
3044
|
modelId: string;
|
|
2985
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3045
|
+
kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
2986
3046
|
displayName?: string | undefined;
|
|
2987
3047
|
contextSize?: number | undefined;
|
|
2988
3048
|
capabilities?: {
|
|
@@ -3014,7 +3074,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
3014
3074
|
output: {
|
|
3015
3075
|
models: {
|
|
3016
3076
|
modelId: string;
|
|
3017
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3077
|
+
kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3018
3078
|
displayName?: string | undefined;
|
|
3019
3079
|
contextSize?: number | undefined;
|
|
3020
3080
|
capabilities?: {
|
|
@@ -3058,7 +3118,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
3058
3118
|
} & {
|
|
3059
3119
|
json: {
|
|
3060
3120
|
modelId: string;
|
|
3061
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3121
|
+
kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3062
3122
|
displayName?: string | undefined;
|
|
3063
3123
|
contextSize?: number | undefined;
|
|
3064
3124
|
capabilities?: {
|
|
@@ -3105,7 +3165,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
3105
3165
|
};
|
|
3106
3166
|
} & {
|
|
3107
3167
|
json: {
|
|
3108
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3168
|
+
kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3109
3169
|
displayName?: string | undefined;
|
|
3110
3170
|
contextSize?: number | undefined;
|
|
3111
3171
|
capabilities?: {
|
|
@@ -3148,7 +3208,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
3148
3208
|
};
|
|
3149
3209
|
} & {
|
|
3150
3210
|
json: {
|
|
3151
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3211
|
+
kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3152
3212
|
displayName?: string | undefined;
|
|
3153
3213
|
contextSize?: number | undefined;
|
|
3154
3214
|
capabilities?: {
|
|
@@ -3191,7 +3251,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
3191
3251
|
};
|
|
3192
3252
|
} & {
|
|
3193
3253
|
json: {
|
|
3194
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3254
|
+
kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3195
3255
|
displayName?: string | undefined;
|
|
3196
3256
|
contextSize?: number | undefined;
|
|
3197
3257
|
capabilities?: {
|
|
@@ -3223,7 +3283,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
3223
3283
|
output: {
|
|
3224
3284
|
models: {
|
|
3225
3285
|
modelId: string;
|
|
3226
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3286
|
+
kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3227
3287
|
displayName?: string | undefined;
|
|
3228
3288
|
contextSize?: number | undefined;
|
|
3229
3289
|
capabilities?: {
|
|
@@ -3267,7 +3327,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
3267
3327
|
};
|
|
3268
3328
|
} & {
|
|
3269
3329
|
json: {
|
|
3270
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3330
|
+
kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3271
3331
|
displayName?: string | undefined;
|
|
3272
3332
|
contextSize?: number | undefined;
|
|
3273
3333
|
capabilities?: {
|
|
@@ -3359,7 +3419,7 @@ export type AdminApi = import("hono/hono-base").HonoBase<any, {
|
|
|
3359
3419
|
output: {
|
|
3360
3420
|
models: {
|
|
3361
3421
|
modelId: string;
|
|
3362
|
-
kind?: "embedding" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3422
|
+
kind?: "embedding" | "evaluation" | "image-generation" | "language" | "moderation" | "reranking" | "speech-to-speech" | "speech-to-text" | "text-to-speech" | "unknown" | undefined;
|
|
3363
3423
|
displayName?: string | undefined;
|
|
3364
3424
|
contextSize?: number | undefined;
|
|
3365
3425
|
capabilities?: {
|