diff --git a/cli/golem-cli/src/app/template/snippet.rs b/cli/golem-cli/src/app/template/snippet.rs index f3b6f5e33b..3b81715b6f 100644 --- a/cli/golem-cli/src/app/template/snippet.rs +++ b/cli/golem-cli/src/app/template/snippet.rs @@ -102,6 +102,22 @@ pub static DOC_DEPENDENCIES: LazyLock> = LazyLock::new(| vec![env("OPENROUTER_API_KEY", "", "")], golem_ai("golem_llm_openrouter"), ), + dep( + "OrcaRouter", + vec![ + env( + "OPENAI_API_KEY", + "", + "OrcaRouter API key (sk-orca-...)", + ), + env( + "OPENAI_BASE_URL", + "https://api.orcarouter.ai/v1", + "OrcaRouter OpenAI-compatible endpoint", + ), + ], + golem_ai("golem_llm_openai"), + ), dep( "Amazon Bedrock", vec![ diff --git a/docs/src/content/next/develop/ai.mdx b/docs/src/content/next/develop/ai.mdx index 983b8f8ad8..48369a1fd6 100644 --- a/docs/src/content/next/develop/ai.mdx +++ b/docs/src/content/next/develop/ai.mdx @@ -36,6 +36,7 @@ The list of supported LLM providers is the following: - [Ollama](https://ollama.com) - [OpenAI](https://openai.com) - [OpenRouter](https://openrouter.ai) +- [OrcaRouter](https://www.orcarouter.ai) The core trait for LLMs (from the `golem-llm` crate): diff --git a/docs/src/content/next/how-to-guides/rust/golem-add-llm-rust.mdx b/docs/src/content/next/how-to-guides/rust/golem-add-llm-rust.mdx index 2f16d6f134..886d74319c 100644 --- a/docs/src/content/next/how-to-guides/rust/golem-add-llm-rust.mdx +++ b/docs/src/content/next/how-to-guides/rust/golem-add-llm-rust.mdx @@ -22,6 +22,7 @@ Provider crates (pick one): | xAI / Grok | `golem-ai-llm-grok` | `XAI_API_KEY` | | Ollama | `golem-ai-llm-ollama` | `GOLEM_OLLAMA_BASE_URL` (optional, defaults to `http://localhost:11434`) | | OpenRouter | `golem-ai-llm-openrouter` | `OPENROUTER_API_KEY` | +| OrcaRouter | `golem-ai-llm-openai` | `OPENAI_API_KEY`, `OPENAI_BASE_URL` | ### Embeddings & Reranking diff --git a/docs/src/content/v1.5/develop/ai.mdx b/docs/src/content/v1.5/develop/ai.mdx index 870fabb89d..3e3beaec7b 100644 --- a/docs/src/content/v1.5/develop/ai.mdx +++ b/docs/src/content/v1.5/develop/ai.mdx @@ -36,6 +36,7 @@ The list of supported LLM providers is the following: - [Ollama](https://ollama.com) - [OpenAI](https://openai.com) - [OpenRouter](https://openrouter.ai) +- [OrcaRouter](https://www.orcarouter.ai) The core trait for LLMs (from the `golem-llm` crate): diff --git a/docs/src/content/v1.5/how-to-guides/rust/golem-add-llm-rust.mdx b/docs/src/content/v1.5/how-to-guides/rust/golem-add-llm-rust.mdx index c24b9095c6..ad6f1fec50 100644 --- a/docs/src/content/v1.5/how-to-guides/rust/golem-add-llm-rust.mdx +++ b/docs/src/content/v1.5/how-to-guides/rust/golem-add-llm-rust.mdx @@ -22,6 +22,7 @@ Provider crates (pick one): | xAI / Grok | `golem-ai-llm-grok` | `XAI_API_KEY` | | Ollama | `golem-ai-llm-ollama` | `GOLEM_OLLAMA_BASE_URL` (optional, defaults to `http://localhost:11434`) | | OpenRouter | `golem-ai-llm-openrouter` | `OPENROUTER_API_KEY` | +| OrcaRouter | `golem-ai-llm-openai` | `OPENAI_API_KEY`, `OPENAI_BASE_URL` | ### Embeddings & Reranking diff --git a/golem-skills/skills/rust/golem-add-llm-rust/SKILL.md b/golem-skills/skills/rust/golem-add-llm-rust/SKILL.md index 44b36110bd..0a035133cb 100644 --- a/golem-skills/skills/rust/golem-add-llm-rust/SKILL.md +++ b/golem-skills/skills/rust/golem-add-llm-rust/SKILL.md @@ -27,6 +27,7 @@ Provider crates (pick one): | xAI / Grok | `golem-ai-llm-grok` | `XAI_API_KEY` | | Ollama | `golem-ai-llm-ollama` | `GOLEM_OLLAMA_BASE_URL` (optional, defaults to `http://localhost:11434`) | | OpenRouter | `golem-ai-llm-openrouter` | `OPENROUTER_API_KEY` | +| OrcaRouter | `golem-ai-llm-openai` | `OPENAI_API_KEY`, `OPENAI_BASE_URL` | ### Embeddings & Reranking diff --git a/plugins/otlp-exporter/.agents/skills/golem-add-llm-rust/SKILL.md b/plugins/otlp-exporter/.agents/skills/golem-add-llm-rust/SKILL.md index 44b36110bd..0a035133cb 100644 --- a/plugins/otlp-exporter/.agents/skills/golem-add-llm-rust/SKILL.md +++ b/plugins/otlp-exporter/.agents/skills/golem-add-llm-rust/SKILL.md @@ -27,6 +27,7 @@ Provider crates (pick one): | xAI / Grok | `golem-ai-llm-grok` | `XAI_API_KEY` | | Ollama | `golem-ai-llm-ollama` | `GOLEM_OLLAMA_BASE_URL` (optional, defaults to `http://localhost:11434`) | | OpenRouter | `golem-ai-llm-openrouter` | `OPENROUTER_API_KEY` | +| OrcaRouter | `golem-ai-llm-openai` | `OPENAI_API_KEY`, `OPENAI_BASE_URL` | ### Embeddings & Reranking