-
Notifications
You must be signed in to change notification settings - Fork 629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(wren-ui): pass invalid sql from AI service #1373
base: main
Are you sure you want to change the base?
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 (
|
pass invalid sql from AI service
Summary by CodeRabbit