core-agent-ide/docs
rugvedS07 837bc98a1d
LM Studio OSS Support (#2312)
## Overview

Adds LM Studio OSS support. Closes #1883


### Changes
This PR enhances the behavior of `--oss` flag to support LM Studio as a
provider. Additionally, it introduces a new flag`--local-provider` which
can take in `lmstudio` or `ollama` as values if the user wants to
explicitly choose which one to use.

If no provider is specified `codex --oss` will auto-select the provider
based on whichever is running.

#### Additional enhancements 
The default can be set using `oss-provider` in config like:

```
oss_provider = "lmstudio"
```

For non-interactive users, they will need to either provide the provider
as an arg or have it in their `config.toml`

### Notes
For best performance, [set the default context
length](https://lmstudio.ai/docs/app/advanced/per-model) for gpt-oss to
the maximum your machine can support

---------

Co-authored-by: Matt Clayton <matt@lmstudio.ai>
Co-authored-by: Eric Traut <etraut@openai.com>
2025-11-17 11:49:09 -08:00
..
advanced.md docs: Fix code fence and typo in advanced guide (#6295) 2025-11-06 09:00:28 -08:00
agents_md.md docs: fix agents fallback example (#5396) 2025-10-22 11:32:35 -07:00
authentication.md chore: subject docs/*.md to Prettier checks (#4645) 2025-10-03 11:35:48 -07:00
CLA.md chore: subject docs/*.md to Prettier checks (#4645) 2025-10-03 11:35:48 -07:00
config.md LM Studio OSS Support (#2312) 2025-11-17 11:49:09 -08:00
contributing.md Updated contributing guidelines and PR template to request link to bug report in PR notes (#6332) 2025-11-06 12:02:39 -08:00
example-config.md Enable TUI notifications by default (#6633) 2025-11-14 09:28:09 -08:00
exec.md docs: document exec json events (#5399) 2025-10-20 16:11:36 -07:00
experimental.md docs: remove stale contribution reference (#5400) 2025-10-20 16:11:14 -07:00
faq.md Add instruction for upgrading codex with brew (#5640) 2025-10-24 11:30:34 -07:00
getting-started.md docs: correct getting-started behaviors (#5407) 2025-10-20 16:17:07 -07:00
install.md chore: subject docs/*.md to Prettier checks (#4645) 2025-10-03 11:35:48 -07:00
license.md chore: subject docs/*.md to Prettier checks (#4645) 2025-10-03 11:35:48 -07:00
open-source-fund.md chore: subject docs/*.md to Prettier checks (#4645) 2025-10-03 11:35:48 -07:00
platform-sandboxing.md docs: improve overall documentation (#5354) 2025-10-19 15:07:33 -07:00
prompts.md Fix documentation errors for Custom Prompts named arguments and add canonical examples (#5910) 2025-11-15 09:25:46 -08:00
release_management.md Update Homebrew install instructions to use cask (#5377) 2025-10-20 17:43:40 +00:00
sandbox.md Windows Sandbox - Alpha version (#4905) 2025-10-30 15:51:57 -07:00
slash_commands.md Add documentation for slash commands in docs/slash_commands.md. (#5685) 2025-11-03 08:27:13 -08:00
zdr.md Never store requests (#3212) 2025-09-05 10:41:47 -07:00