I tried with different max_prompt_tokens and max_completion_tokens from null to 50000. Yet, kept getting an incomplete run.
The issue resolved for the particular thread, when I set the truncation_strategy to last_messages
And the issue would re-surface on the same thread, if I let the truncation_strategy take the default i.e. auto.
The incomplete reason, though is always -
incomplete_details: {"reason":"max_prompt_tokens"}
Overall, the behaviour seems more stable with the truncation_strategy of last_messages, though I have seen an incomplete run once even with this strategy ![]()