Qwen3.6 27b has template issue in ralph loop on opencode: `No user query found in messages`
#16
by cropse - opened
prompt in opencode:
[SYSTEM DIRECTIVE: OH-MY-OPENCODE - TODO CONTINUATION]
Incomplete tasks remain in your todo list. Continue working on the next pending task.
- Proceed without asking for permission
- Mark each task complete when finished
- Do not stop until all tasks are done
- If you believe all work is already complete, the system is questioning your completion claim. Critically re-examine each todo item from a skeptical perspective, verify the work was actually done correctly, and update the todo list accordingly.
[Status: 0/10 completed, 10 remaining]
Remaining tasks:
- [in_progress] ITER 1: Fix HTML structure - remove scaffold artifacts, placeholder cards, clean layout
- [pending] ITER 2: Fix export - copy ALL original 3MF files, not just Metadata/
- [pending] ITER 3: Fix export - cleanup other plate files + regenerate model_settings.config
- [pending] ITER 4: Redesign plate cards with better visual hierarchy
- [pending] ITER 5: Add proper status bar, loading states, success/error feedback
- [pending] ITER 6: Add select all/deselect all, better drop zone, responsive polish
- [pending] ITER 7: Test in browser - verify full workflow
- [pending] ITER 8: Fix issues found during testing
- [pending] ITER 9: Final UI polish
- [pending] ITER 10: Final end-to-end verification
<!-- OMO_INTERNAL_INITIATOR -->
Response in error:
"Error rendering prompt with jinja template: \"No user query found in messages.\".\n\nThis is usually an issue with the model's prompt template. If you are using a popular model, you can try to search the model under lmstudio-community, which will have fixed prompt templates. If you cannot find one, you are welcome to post this issue to our discord or issue tracker on GitHub. Alternatively, if you know how to write jinja templates, you can override the prompt template in My Models > model settings > Prompt Template."
I have summarized this problem and provided a possible solution in one of my git repo. Please refer to the following.
https://github.com/abysslover/qwen36_tool_calling_failure