Conversation
This reverts commit 362d9b6.
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughVersion metadata decreased from 0.0.78 to 0.0.77 in Tauri configs. Chat logic adds a HyprLocal-only progress_update tool via @hypr/utils/ai and adjusts tool-call handling formatting. Chat utils remove HyprLocal from toolEnabled criteria in prepareMessageHistory, affecting system template tool enablement. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant U as User
participant UI as Right Panel UI
participant CL as useChatLogic
participant M as Model (HyprLocal)
participant T as Tool: progress_update
U->>UI: Send message
UI->>CL: prepare request
Note over CL: HyprLocal: registers progress_update tool
CL->>M: Stream chat request (tools registered)
M-->>CL: Streamed tokens / tool_call(progress_update)
alt tool_call: progress_update
CL->>T: Invoke progress_update with payload
T-->>CL: Acknowledge/return
else normal tokens
CL-->>UI: Append streamed text
end
CL-->>UI: Finalize response
sequenceDiagram
autonumber
participant CU as chat-utils.prepareMessageHistory
participant ST as System Template
CU->>CU: Compute toolEnabled
Note over CU: HyprLocal no longer auto-enables tools
CU->>ST: Build systemContent with toolEnabled=false (for HyprLocal)
ST-->>CU: System prompt without tool instructions
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
Status, Documentation and Community
|
No description provided.