fix(paseo-agent): make catalog auth deterministic

Catalog auth derivation used an environment probe, so missing local keys could make provider listing throw. Catalog hints are now static and CLI tests scrub provider-key env vars.
This commit is contained in:
Mohamed Boudra
2026-07-02 13:57:12 +02:00
parent 02ec891fe4
commit 03b45f8e11
6 changed files with 125 additions and 15 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ The current catalog contains four entries:
| id | Pi provider | default models | auth source |
| ------------- | -------------- | -------------- | --------------------------------------------- |
| `openrouter` | `openrouter` | none | Pi env key `OPENROUTER_API_KEY` |
| `openrouter` | `openrouter` | none | Paseo hint `OPENROUTER_API_KEY` |
| `chatgpt` | `openai-codex` | Pi full list | Pi OAuth registry (`openai-codex`) |
| `kimi` | `kimi-coding` | Pi full list | Paseo hint `KIMI_API_KEY` (Pi has no env key) |
| `opencode-go` | `opencode-go` | Pi full list | Paseo hint `OPENCODE_API_KEY` |