feat(config): add Venice API base URL and local LM Studio configuration

This commit is contained in:
lc6464 2026-04-01 23:33:03 +08:00
parent 9759e39385
commit c1bf1642cf
No known key found for this signature in database
GPG key ID: 53C61B42FEC71D6D

View file

@ -189,6 +189,7 @@ func DefaultConfig() *Config {
{ {
ModelName: "venice-uncensored", ModelName: "venice-uncensored",
Model: "venice/venice-uncensored", Model: "venice/venice-uncensored",
APIBase: "https://api.venice.ai/v1",
}, },
// Google Gemini - https://ai.google.dev/ // Google Gemini - https://ai.google.dev/
@ -341,6 +342,13 @@ func DefaultConfig() *Config {
APIBase: "http://localhost:8000/v1", APIBase: "http://localhost:8000/v1",
}, },
// LM Studio (local) - http://localhost:1234
{
ModelName: "lmstudio-local",
Model: "lmstudio/openai/gpt-oss-20b",
APIBase: "http://localhost:1234/v1",
},
// Azure OpenAI - https://portal.azure.com // Azure OpenAI - https://portal.azure.com
// model_name is a user-friendly alias; the model field's path after "azure/" is your deployment name // model_name is a user-friendly alias; the model field's path after "azure/" is your deployment name
{ {