What if my tool takes a long time to finish?
The Model API is stateless: after the model asks for a tool, nothing is waiting on the server. Run the tool for as long as it needs, then send a new request with the history and the tool message. For very long jobs, tell your user it's working, and consider whether the Agent API (which runs whole tasks on a cloud computer) fits better.
Good to know#
- New accounts get $5 of free credit; top up from $1 to $800 per purchase in Console › Billing › Credits. Billing
- Keep keys on your server, never in a browser or mobile app. Why
- Model ids:
supercosmos-flash,supercosmos-max,supercosmos-heavy(SuperCosmos 1.1). Which to call
Still need help?#
- General support: support@clatterlabs.com or team@clatterlabs.xyz
- Infrastructure questions, or permanent deletion of your data (your whole account or one service): infrastructure@clatterlabs.xyz
We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Related articles
Still need help?
Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyzFor deleting your whole account or the data of one service.