providers: {
anthropic: {
headers: { "anthropic-dangerous-direct-browser-access": "true" };
model: "claude-opus-5";
name: "anthropic";
url: "https://api.anthropic.com/v1/chat/completions";
};
gemini: {
model: "gemini-2.5-flash";
name: "gemini";
url: "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions";
};
lmstudio: {
name: "lmstudio";
url: "http://localhost:1234/v1/chat/completions";
};
ollama: {
name: "ollama";
url: "http://localhost:11434/v1/chat/completions";
};
openai: {
model: "gpt-5.2";
name: "openai";
url: "https://api.openai.com/v1/chat/completions";
};
openrouter: {
name: "openrouter";
url: "https://openrouter.ai/api/v1/chat/completions";
};
} = ...
Type Declaration
Readonlyanthropic: {
headers: { "anthropic-dangerous-direct-browser-access": "true" };
model: "claude-opus-5";
name: "anthropic";
url: "https://api.anthropic.com/v1/chat/completions";
}
Readonlygemini: {
model: "gemini-2.5-flash";
name: "gemini";
url: "https://generativelanguage.googleapis.com/v1beta/openai/chat/completions";
}
Readonlylmstudio: { name: "lmstudio"; url: "http://localhost:1234/v1/chat/completions" }
Readonlyollama: { name: "ollama"; url: "http://localhost:11434/v1/chat/completions" }
Readonlyopenai: {
model: "gpt-5.2";
name: "openai";
url: "https://api.openai.com/v1/chat/completions";
}
Readonlyopenrouter: { name: "openrouter"; url: "https://openrouter.ai/api/v1/chat/completions" }
Anthropic's OpenAI-compatibility endpoint.
apiKeyrequired.