corrected opencode endpoints

This commit is contained in:
Luxferre
2026-09-01 22:00:14 +03:00
parent cfbb16443b
commit 4756ffc379
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ TCONFIG="$(mktemp)"
# Write OpenCode Zen free models
printf 'big-pickle,-,https://opencode.ai/zen,\n' >> "$TCONFIG"
$REQ https://opencode.ai/zen/v1/models | jq -r '.data | map(select(.id | test("-free")) | .id) | .[]' | awk '{printf "%s,-,https://opencode.ai/zen,\n",$0}' >> "$TCONFIG"
$REQ https://opencode.ai/zen/v1/models | jq -r '.data | map(select(.id | test("-free")) | .id) | .[]' | awk '{printf "%s,-,https://opencode.ai/zen/v1,\n",$0}' >> "$TCONFIG"
# Write Kilo free models
$REQ https://api.kilo.ai/api/openrouter/models | jq -r '.data | map(select(.isFree) | .id) | .[]' | awk '{printf "%s,-,https://api.kilo.ai/api/openrouter,\n",$0}' >> "$TCONFIG"