Olava tool calling, docx markdown bold, tabular UX
- Olava tool-call plumbing: switch to non-streaming when tools are forwarded (vLLM streaming with --enable-auto-tool-choice silently drops the parsed tool_calls payload, even though it sets finish_reason="tool_calls"). Single round-trip per iteration is more reliable. - Custom client-side parser for the LoRA's <tool_call><function=...> <parameter=...> token format, generic across every tool. Iteratively strips trailing </parameter> / </function> / </tool_call> tags so values like read_document's docLabel aren't poisoned with markup. JSON-decodes parameter values, with scalar coercion fallback. - generate_docx now parses **bold** markdown in section content via a small TextRun splitter so party names / defined terms render bold instead of leaking literal asterisks into the .docx. - System prompt: demoted the "MUST call read_document after generate_docx" rule to "MAY", and explicitly forbids re-issuing generate_docx in the same turn to "fix" perceived imperfections - use edit_document or just describe the issue. Stops the model from emitting two duplicate downloads when it self-critiques. - Tabular review: new "Wrap text" toolbar toggle (cells switch from line-clamp-1 to wrap-and-grow). Header columns are drag-to-reorder via HTML5 DnD, persisted through the existing columns_config saver; display order follows the array, cell lookup keeps using the stable .index. Per-column resize via a hidden right-edge drag handle with a 120px floor; widths are local state. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
| Repository | nwhitehouse/mike |
|---|---|
| Author | Nick Whitehouse <nick.whitehouse@mccarthyfinch.com> |
| Authored | |
| Parents | fac10f42 |
| Stats | 5 files changed , +512 , -56 |
| Part of | Olava (vLLM/Qwen) provider integration |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-5a1b0cc3.md
from inside the repo you want the change in.