Skip to content

Commit 57c9b89

Browse files
committed
docs(lift): mention ollama provider in MCP params + LIFTER PROTOCOL
1 parent 2d38bd4 commit 57c9b89

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

crates/rpg-mcp/src/params.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,13 +273,13 @@ pub(crate) struct DetectCyclesParams {
273273
/// Parameters for the `auto_lift` tool.
274274
#[derive(Deserialize, JsonSchema)]
275275
pub(crate) struct AutoLiftParams {
276-
/// LLM provider: "anthropic", "openai", or any OpenAI-compatible endpoint.
276+
/// LLM provider: "anthropic", "openai", "ollama" (local, no API key), or any OpenAI-compatible endpoint.
277277
pub(crate) provider: String,
278278
/// API key for the provider. Use this OR api_key_env (not both). Prefer api_key_env to avoid exposing keys in tool call transcripts.
279279
pub(crate) api_key: Option<String>,
280280
/// Environment variable name containing the API key (e.g., "ANTHROPIC_API_KEY"). Safer than passing the key directly — the key never appears in tool call logs.
281281
pub(crate) api_key_env: Option<String>,
282-
/// Model override (default: claude-haiku-4-5-20251001 for anthropic, gpt-4o-mini for openai).
282+
/// Model override (default: claude-haiku-4-5-20251001 for anthropic, gpt-4o-mini for openai, qwen2.5-coder:3b for ollama).
283283
pub(crate) model: Option<String>,
284284
/// Base URL for OpenAI-compatible endpoints (e.g., "https://openrouter.ai/api/v1" for OpenRouter, "https://generativelanguage.googleapis.com/v1beta/openai" for Gemini).
285285
pub(crate) base_url: Option<String>,

crates/rpg-mcp/src/prompts/server_instructions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,9 @@ Fallbacks when no delegation mechanism is available:
166166
`finalize_lifting` ONCE after all scopes are complete — calling it mid-flow
167167
auto-routes pending entities against incomplete signals and locks the
168168
hierarchy in early.
169-
- **CLI autonomous lift** (unlifted entities only): `rpg-encoder lift --provider anthropic|openai`
170-
uses an external API key directly — no agent subscription involvement. **After the CLI
169+
- **CLI autonomous lift** (unlifted entities only): `rpg-encoder lift --provider anthropic|openai|ollama`
170+
`anthropic`/`openai` use an external API key directly; `ollama` runs a fully-local model
171+
(default `qwen2.5-coder:3b`, no API key, no cost). No agent subscription involvement. **After the CLI
171172
finishes, call `reload_rpg` in this session** so the server picks up the updated
172173
`.rpg/graph.json` — otherwise subsequent queries will still see the pre-lift state.
173174
Note: the CLI lifts entities with no features; it does not re-lift stale entities

0 commit comments

Comments
 (0)