Skip to content

Commit 3e5609a

Browse files
committed
✨ Add content update tools for Studio chat integration
Replace JSON-based chat updates with proper Rig tool implementations. Iris can now modify commit messages, PR descriptions, and reviews via tool calls instead of parsing JSON from response text. Key changes: - Add UpdateCommitTool, UpdatePRTool, and UpdateReviewTool with channel-based communication to the Studio UI - Migrate debug output from colored println to tracing for cleaner TUI logs - Switch chat markdown rendering to pulldown-cmark for proper AST parsing - Remove brittle regex-based JSON extraction from chat response handling - Enable automatic file logging in Studio mode for debugging The tool-based approach is more reliable since the LLM explicitly calls tools rather than embedding JSON that may get malformed or truncated.
1 parent eae0604 commit 3e5609a

File tree

11 files changed

+643
-801
lines changed

11 files changed

+643
-801
lines changed

Cargo.lock

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ log = "0.4.27"
3838
lru = "0.12"
3939
once_cell = "1.21.3"
4040
parking_lot = "0.12.1"
41+
pulldown-cmark = "0.13"
4142
rand = "0.9.0"
4243
ratatui = "0.29.0"
4344
regex = "1.10.6"

0 commit comments

Comments
 (0)