Feat/batched tool results#13
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.