Skip to content

feat: add a built-in model provider named "oss"#1847

Closed
bolinfest wants to merge 1 commit intomainfrom
pr1847
Closed

feat: add a built-in model provider named "oss"#1847
bolinfest wants to merge 1 commit intomainfrom
pr1847

Conversation

@bolinfest
Copy link
Copy Markdown
Collaborator

@bolinfest bolinfest commented Aug 5, 2025

Builds off of the work in #1813, but ports only the business logic. Introduces a new built-in provider named oss rather than trying to write one to the user's config.toml.

Comment thread codex-rs/tui/src/cli.rs
pub model: Option<String>,

/// Convenience flag to select the local open source model provider.
/// Equivalent to -c model_provider=oss; verifies a local Ollama server is
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

should really be a macro for --profile oss so you can have a default model for your oss profile that differs from the default model for your default profile

Comment thread codex-rs/tui/src/lib.rs
eprintln!("");
}

if cli.oss {
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Also, we need a comparable change to codex exec, but it seemed easier to test it out here first.

@bolinfest
Copy link
Copy Markdown
Collaborator Author

This was addressed by #1848

@bolinfest bolinfest closed this Aug 5, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants