Output truncated when calling the OpenAI API
The truncation of the output was due to the max_tokens parameter in my OpenAI API call. The max_tokens parameter limits the number of tokens (words and punctuation marks) in the response.

Output Truncated When Setting maxOutputTokens

For simple DR tasks the lower limit may be fine, but for complex ones exceeding 10,000 tokens, truncation will occur. Since many studies are fairly complex and API calls are billed, if the cutoff is indeed due to an output -token limit , could the official side raise sonar-deep-research's output ceiling to 20,000 tokens?

As we can see from the illustration, Output Truncated Due To Api Character Limit has many fascinating aspects to explore.
Useful Notes on Output Truncated Due To Api Character Limit
The query text limit is a limitation not of the SDK or the API , but rather of the backing system table `system.query.history`. More information on this system table can be seen in the Query History System Table. There is a limit imposed on the query text size due to storage limitations which maps to the System table column `statement_text`.
What is Response Truncation? Definition: Response truncation occurs when the assistant's output exceeds the maximum token limit defined in the API request.
More Context About Output Truncated Due To Api Character Limit
mistralai/Mistral-7B-Instruct-v0.3 · Limited (truncated) response with inference API. For Output Truncated Due To Api Character Limit, this point helps readers notice the most relevant visual details before moving into the gallery.
tiiuae/falcon-40b-instruct · Truncated output from API call through langchain. It works as a short bridge between the article summary and the gallery section.
OpenAI O1 API Tutorial: How to Connect to OpenAI's API | DataCamp. The extra context helps the page feel more useful without forcing the same phrase repeatedly.
Looking at multiple sources also helps separate the main idea from small decorative details.
These notes are added so the page offers more than images and gives each visitor a clearer reason to keep reading.