You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimize queue fetching to prevent choppy playback with large queues
- Add skipQueue parameter to getNowPlaying() function
- Skip queue fetching during status polling (every 2s) to avoid choppy playback
- Queue is only fetched when needed (e.g., admin UI showing next tracks)
- Fixes issue with choppy playback when queue has 400+ tracks
- Minor formatting/whitespace cleanup in other files
consterrorMsg=`${truncationReason}. The AI model may have generated an incomplete diff.\n\nErrors:\n${validationResult.errors.join('\n')}\n\nAPI Response Info:\n- Stop reason: ${stopReason}\n- Output tokens used: ${outputTokens}\n- Was truncated: ${wasTruncated}\n\nDiff preview (last 500 chars):\n\`\`\`\n${diff.substring(Math.max(0,diffLength-500))}\n\`\`\`\n\nPossible causes:\n- Model hit output token limit (check max_tokens setting)\n- Input context too large, leaving insufficient room for output\n- Model stopped generating for other reasons\n\nSuggestions:\n- Reduce input context size (fewer files) - already reduced to 400KB\n- Break task into smaller parts\n- Verify max_tokens is sufficient (currently 180K)`;
0 commit comments