Anyone using O3 Mini in Clay and getting the same error message? "Could not finish the message because max_tokens was reached. Please try again with higher max_tokens." How did you resolve it? Is this a setting of the OpenAI API? Thanks!
This error indicates that the AI prompt requires more tokens than the current limit allows. Here's how you can resolve it: 1. Edit your AI column settings and increase the "Clay Credit Budget" to allow for a higher token limit. This will only use additional credits when needed for longer/more complex prompts. 2. Check your OpenAI API key settings: β’ Verify your API key at OpenAI API Keys β’ Check your usage limits at OpenAI API Usage Limits β’ Consider upgrading your OpenAI API tier for better performance For reliable use of OpenAI features in Clay, you need an appropriate usage tier. If you're on a free plan or tier 1, you may need to upgrade to meet the requirements.
Is that what you were looking for?
Looks like you're still looking for help. We're currently outside of our standard office hours (9 AM to 9 PM EST, Monday through Friday), so it may take a little longer for us to respond. If youβre dealing with a specific table, drop the URL below so we can help you quicker. Otherwise, someone from our team will be in touch soon!
Hi Max, openAI prompts, especially with cheaper models, have a limit to the number of tokens (words) you can add to a prompt. This error occurs when the prompt you are trying to run is too large for the model you are trying to use. I suggest to shorten your prompt to solve this issue. Let me know if this helps!
This thread was picked up by our in-app web widget and will no longer sync to Slack. If you are the original poster, you can continue this conversation by logging into https://app.clay.com and clicking "Support" in the sidebar. If you're not the original poster and require help from support, please post in 02 Support.
Thank you Stefano