// This step operates on Deltas created by the transform_postprocessor_stream function
// Only access to text and not token_ids - so can not support parsing based on token_ids for now
// Future Solution:
// To address the limitation if needed in future: move this step before transform_postprocessor_stream and add new field of reasoning_content to the backend output
// Use backend_output.reasoning_content field to fill out the deltas.
// This step operates on Deltas created by the transform_postprocessor_stream function
// Only access to text and not token_ids - so can not support parsing based on token_ids for now
// Future Solution:
// To address the limitation if needed in future: move this step before transform_postprocessor_stream and add new field of reasoning_content to the backend output
// Use backend_output.reasoning_content field to fill out the deltas.
{"id":"chatcmpl-interval20","choices":[{"index":0,"delta":{"content":"\nOkay, the user is asking for the titles of some James Joyce books and wants me to use","function_call":null,"tool_calls":null,"role":"assistant","refusal":null,"reasoning_content":null}}],"created":1772656349,"model":"Qwen/Qwen3-0.6B","service_tier":null,"system_fingerprint":null,"object":"chat.completion.chunk","usage":null}
{"id":"chatcmpl-interval20","choices":[{"index":0,"delta":{"content":" the provided tool. Let me check the available functions. There's a search_gutenberg_books function that","function_call":null,"tool_calls":null,"role":"assistant","refusal":null,"reasoning_content":null}}],"created":1772656349,"model":"Qwen/Qwen3-0.6B","service_tier":null,"system_fingerprint":null,"object":"chat.completion.chunk","usage":null}
{"id":"chatcmpl-interval20","choices":[{"index":0,"delta":{"content":" takes an array of search terms. The user mentioned \"James Joyce books,\" so I need to use","function_call":null,"tool_calls":null,"role":"assistant","refusal":null,"reasoning_content":null}}],"created":1772656349,"model":"Qwen/Qwen3-0.6B","service_tier":null,"system_fingerprint":null,"object":"chat.completion.chunk","usage":null}
{"id":"chatcmpl-interval20","choices":[{"index":0,"delta":{"content":" the search terms related to that. I should make sure to list the relevant terms. Let me think","function_call":null,"tool_calls":null,"role":"assistant","refusal":null,"reasoning_content":null}}],"created":1772656349,"model":"Qwen/Qwen3-0.6B","service_tier":null,"system_fingerprint":null,"object":"chat.completion.chunk","usage":null}
{"id":"chatcmpl-interval20","choices":[{"index":0,"delta":{"content":"... \"James Joyce\" and \"Project Gutenberg\" might be the keywords here. So I'll structure","function_call":null,"tool_calls":null,"role":"assistant","refusal":null,"reasoning_content":null}}],"created":1772656349,"model":"Qwen/Qwen3-0.6B","service_tier":null,"system_fingerprint":null,"object":"chat.completion.chunk","usage":null}
{"id":"chatcmpl-interval20","choices":[{"index":0,"delta":{"content":" the search terms as [\"James Joyce\", \"Project Gutenberg\"] to find the books. That should cover","function_call":null,"tool_calls":null,"role":"assistant","refusal":null,"reasoning_content":null}}],"created":1772656349,"model":"Qwen/Qwen3-0.6B","service_tier":null,"system_fingerprint":null,"object":"chat.completion.chunk","usage":null}
{"id":"chatcmpl-interval20","choices":[{"index":0,"delta":{"content":" the user's request.\n</think>\n\n<tool_call>\n{\"name\": \"search_gutenberg_books\", \"arguments","function_call":null,"tool_calls":null,"role":"assistant","refusal":null,"reasoning_content":null}}],"created":1772656349,"model":"Qwen/Qwen3-0.6B","service_tier":null,"system_fingerprint":null,"object":"chat.completion.chunk","usage":null}
constREQUEST_JSON:&str=r#"{"messages":[{"role":"user","content":"What is the capital of Tuvalu?"}],"model":"Qwen/Qwen3-0.6B","max_completion_tokens":3000,"stream":true,"stream_options":{"include_usage":true,"continuous_usage_stats":false},"temperature":1.0,"top_p":1.0}"#;