feat(wren-ui): pass invalid sql from AI service#1373
feat(wren-ui): pass invalid sql from AI service#1373onlyjackfrost wants to merge 1 commit intomainfrom
Conversation
WalkthroughThe pull request enhances SQL error reporting by adding an additional property to various components. In the Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant Resolver as AskingResolver
participant Adaptor as WrenAIAdaptor
participant Schema as GraphQL Schema
Client->>Resolver: Request asking task
Resolver->>Adaptor: Call transformAskResult(body)
Adaptor->>Adaptor: Extract type, intent_reasoning, and invalid_sql
Adaptor-->>Resolver: Return response with invalidSql field
Resolver->>Schema: Map response to AskingTask (includes invalidSql)
Resolver-->>Client: Return asking task with enhanced SQL error info
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (7)
✨ Finishing Touches
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:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Since the Fix SQL feature has been merged into the Reasoning feature, and #1388 has already implemented the invalidSql property, this PR is no longer needed and will be closed. |
pass invalid sql from AI service
Summary by CodeRabbit