Skip to content

Feat/batched tool results#13

Merged
PTFOPlayer merged 2 commits into
masterfrom
feat/batched-tool-results
May 22, 2026
Merged

Feat/batched tool results#13
PTFOPlayer merged 2 commits into
masterfrom
feat/batched-tool-results

Conversation

@PTFOPlayer
Copy link
Copy Markdown
Owner

No description provided.

…ompletion

- Batch multiple generic tool results into a single message to reduce
  conversation round-trips and improve model coherence
- Add /think command to set Ollama reasoning level (off/low/medium/high)
- Add /showthink command to toggle display of model thinking chain
- Add OllamaThinkType config and set_think_type provider support
- Restore audit logging for 'run' commands that was removed during
  the batching refactor (moved from execute_generic_tool into the
  caller loop via GenericToolResult struct)
- Fix tab completion: add /think, /showthink to COMMAND_NAMES and
  subcommand_completions; remove stale /models entry
- Display model thinking chain inline during streaming when enabled
Thinking chain streaming:
- Track accumulated thinking content and print only the delta per chunk
  instead of reprinting the full thinking text with each chunk
- Show [thinking] header once at the start, not repeated per chunk
- Add proper transition (newline + RESET) when thinking ends and
  response content begins
- Close thinking styling if stream ends while still in thinking mode

Audit logging for destructive tools:
- Extend audit to cover write and edit tools, not just run
- Add tool_name field to AuditEntry (defaults to 'run' for backward
  compat with existing audit logs)
- Audit detail: shell command for run, file path for write/edit
- Update /audit display to include Tool column in both last and
  session views
@PTFOPlayer PTFOPlayer merged commit 93d7510 into master May 22, 2026
4 checks passed
@PTFOPlayer PTFOPlayer deleted the feat/batched-tool-results branch June 4, 2026 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant