Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions config/codex/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ personality = true
name = "CLIProxyAPI"
base_url = "http://localhost:8317/v1"

[model_providers.lmstudio]
name = "LMStudio"
base_url = "http://127.0.0.1:1234/v1"

[model_providers.ollama]
name = "Ollama"
base_url = "http://127.0.0.1:11434/v1"
Comment on lines +41 to +47

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency with the cliproxyapi provider which uses localhost, it would be better to use localhost here as well instead of 127.0.0.1. This improves readability and maintains a consistent style for local service endpoints in the configuration.

Suggested change
[model_providers.lmstudio]
name = "LMStudio"
base_url = "http://127.0.0.1:1234/v1"
[model_providers.ollama]
name = "Ollama"
base_url = "http://127.0.0.1:11434/v1"
[model_providers.lmstudio]
name = "LMStudio"
base_url = "http://localhost:1234/v1"
[model_providers.ollama]
name = "Ollama"
base_url = "http://localhost:11434/v1"


[model_providers.openrouter]
name = "OpenRouter"
base_url = "https://openrouter.ai/api/v1"
Expand Down
Loading