corrected opencode endpoints
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user