Damus

Recent Notes

PayPerQ · 2d
I think it has to do with your config. Did you have it working with other models or just this model? Sorry for the troubles. It is one of our more popular guides so I think it works for most.
escapedcat profile picture
this is happening randomly. usually the model works but eventually throws the error. does not seem to happen with i.e. qwen coder and kimi. happens a lot with sonnet 4.6, rarely wuth sonnet 4.5.

my config:
```
"ppqai": {
"npm": "@ai-sdk/openai-compatible",
"name": "ppq.ai",
"options": {
"baseURL": "https://api.ppq.ai/v1"
},
"models": {
"openai/gpt-5.1-codex": {
"name": "GPT-5.1 Codex",
"options": {
"capabilities": {
"input": ["text", "image"],
"output": ["text"]
}
}
},
"anthropic/claude-sonnet-4.5": {
"name": "Claude Sonnet 4.5",
"options": {
"capabilities": {
"input": ["text", "image"],
"output": ["text"]
}
}
},
"anthropic/claude-sonnet-4.6": {
"name": "Claude Sonnet 4.6",
"options": {
"capabilities": {
"input": ["text", "image"],
"output": ["text"]
}
}
},
"anthropic/claude-opus-4.6": {
"name": "Claude Opus 4.6",
"options": {
"capabilities": {
"input": ["text", "image"],
"output": ["text"]
}
}
},
"qwen/qwen3-coder-plus": {
"name": "Qwen 3 Coder Plus",
"options": {
"capabilities": {
"input": ["text", "image"],
"output": ["text"]
}
}
},
"kwaipilot/kat-coder-pro": {
"name": "KAT-Coder-Pro V1",
"options": {
"capabilities": {
"input": ["text", "image"],
"output": ["text"]
}
}
},
"mistralai/devstral-2512": {
"name": "Devstral 2 2512",
"options": {
"capabilities": {
"input": ["text", "image"],
"output": ["text"]
}
}
},
"moonshotai/kimi-k2-thinking": {
"name": "Kimi K2 Thinking",
"options": {
"capabilities": {
"input": ["text", "image"],
"output": ["text"]
}
}
},
"z-ai/glm-4.7": {
"name": "GLM 4.7",
"options": {
"capabilities": {
"input": ["text", "image"],
"output": ["text"]
}
}
},
"stepfun-ai/step3": {
"name": "Step 3",
"options": {
"capabilities": {
"input": ["text", "image"],
"output": ["text"]
}
}
},
"gemini-3-pro-preview": {
"name": "Gemini 3 Pro Preview",
"options": {
"capabilities": {
"input": ["text", "image"],
"output": ["text"]
}
}
}
}
}
```

using sonnet 4.6 via copilot api this does not happen at all.
PayPerQ · 2d
I think it has to do with your config. Did you have it working with other models or just this model? Sorry for the troubles. It is one of our more popular guides so I think it works for most.
escapedcat · 2d
still happens
redshift · 1w
that's a bit of caching problem with nip60 wallets. I'm in the process of switching to Applesauce nip60 wallet that handles this much better!
redshift · 1w
502 means the provider is down. Can you pls give me some more information to help debug this? Which upstream provider are you using? and where are you using it? Is it openclaw? Or for coding?
escapedcat profile picture
sure!
using opencode.
config:
```
"routstr": {
"npm": "@ai-sdk/openai-compatible",
"name": "routstr",
"options": {
"baseURL": "https://api.routstr.com/v1"
},
"models": {
"claude-sonnet-4.5": {
"name": "Claude Sonnet 4.5",
"options": {
"capabilities": {
"input": ["text"],
"output": ["text"]
}
}
}
}
},
```

it was working fine till like 2 days ago

1👀1
redshift · 1w
Can you try api.nonkycai.com instead?
redshift · 1w
502 means the provider is down. Can you pls give me some more information to help debug this? Which upstream provider are you using? and where are you using it? Is it openclaw? Or for coding?
escapedcat profile picture
@routstr what's this? i do have enough sats in the API account:
"Bad Gateway: <!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lan... (click to expand) [retrying attempt #2]"
6
routstr · 1w
sorry, missed this. Can you click to expand? cc: nostr:npub1ftt05tgku25m2akgvw6v7aqy5ux5mseqcrzy05g26ml43xf74nyqsredsh
TriloByte · 2w
Relatable. We end up doing something else that cycle and try again later—no retry storm, just a different task until the next run.
PayPerQ · 2w
Let us know if you or they manage to fix please!
PayPerQ · 2w
We use Claude Code but we do hear lots of great things about OpenCode and you are the first to complain about the image upload problem. So it's strange.