Skip to content

feat: pass threadId across schema generation requests for conversatio…#1774

Merged
lyubov-voloshko merged 1 commit into
mainfrom
edit-schema-ai-context
May 14, 2026
Merged

feat: pass threadId across schema generation requests for conversatio…#1774
lyubov-voloshko merged 1 commit into
mainfrom
edit-schema-ai-context

Conversation

@lyubov-voloshko
Copy link
Copy Markdown
Collaborator

…n context

…n context

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 14, 2026 15:59
@lyubov-voloshko lyubov-voloshko enabled auto-merge May 14, 2026 16:00
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 14, 2026

Warning

Rate limit exceeded

@lyubov-voloshko has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 22 minutes and 44 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5e8fd154-531c-451d-b013-aec86dd74c10

📥 Commits

Reviewing files that changed from the base of the PR and between a8ed4ee and f9c49ce.

📒 Files selected for processing (2)
  • frontend/src/app/components/edit-database-schema/edit-database-schema.component.ts
  • frontend/src/app/services/table-schema.service.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch edit-schema-ai-context

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@lyubov-voloshko lyubov-voloshko merged commit 8627817 into main May 14, 2026
15 of 16 checks passed
@lyubov-voloshko lyubov-voloshko deleted the edit-schema-ai-context branch May 14, 2026 16:03
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables schema-generation follow-up requests to carry the backend conversation thread ID, preserving AI context across prompts in the database schema editor.

Changes:

  • Adds threadId to schema generation response typing.
  • Passes the current thread ID into schema generation requests.
  • Stores the returned thread ID for subsequent prompts in the same editor session.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
frontend/src/app/services/table-schema.service.ts Extends schema generation API typing and request body to include threadId.
frontend/src/app/components/edit-database-schema/edit-database-schema.component.ts Tracks the active schema conversation thread and reuses it on later submissions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants