Skip to content

Instantly share code, notes, and snippets.

@astr0n8t
Last active February 7, 2026 03:14
Show Gist options
  • Select an option

  • Save astr0n8t/7f3ce07df682b203e3ff3bbf5ca9fa61 to your computer and use it in GitHub Desktop.

Select an option

Save astr0n8t/7f3ce07df682b203e3ff3bbf5ca9fa61 to your computer and use it in GitHub Desktop.
codex config for offline use
model = "qwen3/qwen3-coder-30b"
model_provider = "lms"
[model_providers.lms]
name = "LM Studio"
base_url = "http://localhost:1234/v1"
[profiles.gpt-oss-20b-lms]
model_provider = "lms"
model = "openai/gpt-oss-20b"
[profiles.qwen3-coder-30b]
model_provider = "lms"
model = "qwen3/qwen3-coder-30b"
[model_providers.litellm]
name = "litellm"
base_url = "http://127.0.0.1:4000"
wire_api = "chat"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment