Skip to content
Closed
Show file tree
Hide file tree
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
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ api_key = "..."
[settings]
```

**Option 2: Bring Your Own LLM** - Use a local OpenAI-compatible endpoint (e.g. Ollama, LM Studio):
**Option 2: Bring Your Own LLM** - Use a local OpenAI-compatible endpoint (e.g. Ollama, llmman, LM Studio):
```toml
[profiles.offline]
provider = "local"
Expand All @@ -294,6 +294,13 @@ api_endpoint = "http://localhost:11434/v1"
[settings]
```

[llmman](https://github.com/llmmanorg/llmman) serves the same Ollama and OpenAI-compatible APIs on port 17434, so only the endpoint differs:
```toml
[profiles.offline.providers.offline]
type = "custom"
api_endpoint = "http://localhost:17434/v1"
```

**Option 3: Mix Built-in and Custom Providers**:
```toml
[profiles.hybrid]
Expand Down
6 changes: 4 additions & 2 deletions cli/src/onboarding/byom.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
//! Bring Your Own Model (BYOM) / Custom Provider configuration
//!
//! This module provides configuration for custom OpenAI-compatible providers
//! such as Ollama, vLLM, or any other provider that implements the OpenAI API.
//! such as Ollama, llmman (<https://github.com/llmmanorg/llmman>, port 17434),
//! vLLM, or any other provider that implements the OpenAI API.
//!
//! # Configuration Format
//!
Expand All @@ -17,6 +18,7 @@
//! type = "custom"
//! api_endpoint = "http://localhost:11434/v1"
//! # api_key is optional for local providers like Ollama
//! # For llmman use api_endpoint = "http://localhost:17434/v1"
//! ```
//!
//! # Model Prefix Routing
Expand Down Expand Up @@ -75,7 +77,7 @@ pub fn configure_byom(

// Step 1: Provider name
styled_output::render_info(
"Configure your custom OpenAI-compatible provider (e.g., LiteLLM, Ollama).",
"Configure your custom OpenAI-compatible provider (e.g., LiteLLM, Ollama, llmman).",
);
println!();

Expand Down
2 changes: 1 addition & 1 deletion libs/shared/src/models/llm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ pub enum ProviderConfig {
#[serde(skip_serializing_if = "Option::is_none")]
auth: Option<ProviderAuth>,
},
/// Custom OpenAI-compatible provider (Ollama, vLLM, etc.)
/// Custom OpenAI-compatible provider (Ollama, llmman, vLLM, etc.)
///
/// The provider key in the config becomes the model prefix.
/// For example, if configured as `providers.offline`, use models as:
Expand Down