Venice's API doesn't support certain OpenAI-compatible parameters that Clawdbot sends by default: - `store`: Venice returns HTTP 400 with no body when this is present - `developer` role: Not supported by Venice's API This adds VENICE_COMPAT settings (supportsStore: false, supportsDeveloperRole: false) to all Venice model definitions, both from the static catalog and dynamically discovered models. Fixes issues reported in PR #1666 where users experienced silent failures (HTTP 400, no body) when using Venice models. Co-authored-by: jonisjongithub <jonisjongithub@users.noreply.github.com> Co-authored-by: Clawdbot <bot@clawd.bot>
31 lines
955 B
Bash
31 lines
955 B
Bash
#!/data/data/com.termux/files/usr/bin/bash
|
|
# Quick Auth Check - Minimal widget for Termux
|
|
# Place in ~/.shortcuts/ for Termux:Widget
|
|
#
|
|
# One-tap: shows status toast
|
|
# If expired: directly opens auth URL
|
|
|
|
SERVER="${CLAWDBOT_SERVER:-l36}"
|
|
|
|
STATUS=$(ssh -o ConnectTimeout=5 "$SERVER" '$HOME/clawdbot/scripts/claude-auth-status.sh simple' 2>&1)
|
|
|
|
case "$STATUS" in
|
|
OK)
|
|
termux-toast -s "Auth OK"
|
|
;;
|
|
*EXPIRING*)
|
|
termux-vibrate -d 100
|
|
termux-toast "Auth expiring soon - tap again if needed"
|
|
;;
|
|
*EXPIRED*|*MISSING*)
|
|
termux-vibrate -d 200
|
|
termux-toast "Auth expired - opening console..."
|
|
termux-open-url "https://console.anthropic.com/settings/api-keys"
|
|
sleep 2
|
|
termux-notification -t "Clawdbot Re-Auth" -c "After getting key, run: ssh $SERVER '~/clawdbot/scripts/mobile-reauth.sh'" --id clawd-auth
|
|
;;
|
|
*)
|
|
termux-toast "Connection error"
|
|
;;
|
|
esac
|