fix: pi OpenRouter models; resync fake-private verbatim copies
- dot_pi/agent/models.json: carry the openrouter provider block from the MacBook (DeepSeek V4 Pro/Flash, Kimi K3.1 Pro, Qwen4 Max). Key by env reference only. A models entry adds to pi's built-in openrouter catalog rather than replacing it. - .tests/lab/fake-private: 1344c64's private-tier counterpart edited .chezmoiignore and dotsecrets, and check-verbatim.sh caught both copies drifting. Copied across again; all three match. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013FbsgpRXBucM8DAwLARhA6
This commit is contained in:
1 parent
1344c64819
commit
6be7896231
3 files changed
+73
-2
No files matched your search
@@ -37,7 +37,7 @@ ops/**
|
||||
|
||||
# Generated at apply time by run_after_50-secrets.sh, never tracked anywhere.
|
||||
# If this line is ever removed, `chezmoi add` on a finished machine sweeps the
|
||||
# seven API keys straight into the repo.
|
||||
# six API keys straight into the repo.
|
||||
.config/zsh/secrets.zsh
|
||||
|
||||
# The per-machine delta that Q5 puts opposite the base settings.json below.
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
# THE ONE INVARIANT: a failed or partial fetch leaves a working secrets.zsh
|
||||
# exactly as it was. Every value is fetched into a 600-mode temp file first,
|
||||
# and that file is renamed over the real one only after all of them have
|
||||
# arrived. Six keys out of seven is a machine that was fine a moment ago and
|
||||
# arrived. Five keys out of six is a machine that was fine a moment ago and
|
||||
# now silently cannot reach one provider -- worse than a machine that says the
|
||||
# refresh failed and carries on with yesterday's keys.
|
||||
#
|
||||
|
||||
@@ -1,5 +1,76 @@
|
||||
{
|
||||
"providers": {
|
||||
"openrouter": {
|
||||
"apiKey": "$OPENROUTER_API_KEY",
|
||||
"models": [
|
||||
{
|
||||
"id": "deepseek/deepseek-v4-pro",
|
||||
"name": "DeepSeek V4 Pro (OpenRouter)",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 384000,
|
||||
"cost": {
|
||||
"input": 0.2088,
|
||||
"output": 0.4176,
|
||||
"cacheRead": 0.0174,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "deepseek/deepseek-v4-flash",
|
||||
"name": "DeepSeek V4 Flash (OpenRouter)",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 943717,
|
||||
"cost": {
|
||||
"input": 0.091,
|
||||
"output": 0.182,
|
||||
"cacheRead": 0.0182,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "moonshotai/kimi-k3.1-pro",
|
||||
"name": "Kimi K3.1 Pro (OpenRouter)",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1048576,
|
||||
"maxTokens": 943718,
|
||||
"cost": {
|
||||
"input": 2,
|
||||
"output": 10,
|
||||
"cacheRead": 0.2,
|
||||
"cacheWrite": 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "qwen/qwen4-max",
|
||||
"name": "Qwen4 Max (OpenRouter)",
|
||||
"reasoning": true,
|
||||
"input": [
|
||||
"text",
|
||||
"image"
|
||||
],
|
||||
"contextWindow": 1000000,
|
||||
"maxTokens": 131072,
|
||||
"cost": {
|
||||
"input": 1.425,
|
||||
"output": 4.275,
|
||||
"cacheRead": 0.07125,
|
||||
"cacheWrite": 1.78125
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"deepseek": {
|
||||
"baseUrl": "https://api.deepseek.com",
|
||||
"api": "openai-completions",
|
||||
|
||||
Reference in new issue
Block a user