Defines supported LLM models and configuration for AskOnce extension.
// Source: https://github.com/linuxhsj/openclaw-zero-token | License: MIT | Copyright 2025 Peter Steinberger
// Provided via justclaw.it.com; keep this notice with the code.
/**
* AskOnce 常量配置
*/
/**
* 支持的模型列表及其配置
*/
export const SUPPORTED_MODELS = {
"claude-web": {
id: "claude-web",
name: "Claude",
provider: "anthropic",
models: ["claude-sonnet-4-5", "claude-opus-4-5", "claude-haiku-4-5"],
defaultModel: "claude-sonnet-4-5",
},
"chatgpt-web": {
id: "chatgpt-web",
name: "ChatGPT",
provider: "openai",
models: ["gpt-4o", "gpt-4o-mini", "gpt-4-turbo"],
defaultModel: "gpt-4o",
},
"gemini-web": {
id: "gemini-web",
name: "Gemini",
provider: "google",
models: ["gemini-2.0-flash", "gemini-1.5-pro", "gemini-1.5-flash"],
defau
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key