positivesoul2026
Forum Replies Created
-
Hi Jordy,
Found it in the logs. Every truncation produces this error:
Anthropic: Unknown stream data type: ping
Anthropic is sending ping events to keep the stream alive and AI Engine is not handling them — it stops the stream instead. This happens consistently at 3-5 seconds into every longer response.
Albert
Hi Jordy,
More diagnostics:
• Truncations happening at 3-5 seconds — well under any PHP timeout • I found a global Context Max Length set to 16384 — changed it to 32000. Still truncating. • Dev Tools now enabled.The truncation seems to happen mid-stream regardless of settings. Is this a known issue with AI Engine 3.5.3 and Anthropic streaming?
Albert
Hi Jordy,
Streaming is now enabled. Still truncating. Here are examples from today’s testing — some responses complete fully, others cut off mid-sentence:
Truncated: “Hvad tror du klimaforandringer betyder, når du hører ordet? Bare skriv hvad der”
Truncated: “Har du nogensinde hørt voksne sige, at sommeren er varmere end før, eller at der er mere ek”
Complete: Shorter responses finish without issue.
Pattern: longer responses truncate, shorter ones complete. TAINKA chatbot Max Tokens is 64,000. What should I check next?
Albert
Hi Jordy,
Thanks for getting back to me so quickly.
1. I can’t find a Streaming toggle anywhere. I’m on the free version (v7.0) and under Settings → Chatbot I only see Discussions, Syntax Highlight, Web Speech API, and GDPR Consent. Is Streaming a Pro-only feature? 2. I haven’t timed it precisely yet, but I will monitor the next truncation and report back. 3. I haven’t tested with 4,000 tokens yet. My current setting is 64,000. I can run that test if needed, but wanted to check on the Streaming question first as that seems like it could be the main issue.Albert