Skip to content
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

fix: use new AI protocol format for friendly errors #122

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

codeincontext
Copy link
Collaborator

@codeincontext codeincontext commented Sep 12, 2024

Description

  • Now that we're using structured outputs, the streaming protocol wraps each line with 0:"..."

Copy link

vercel bot commented Sep 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
oak-ai-lesson-assistant ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 12, 2024 10:22am

@codeincontext codeincontext requested a review from stefl September 12, 2024 10:18
Copy link

Copy link

Playwright e2e tests

Job summary

Download report

To view traces locally, unzip the report and run:

npx playwright show-report ~/Downloads/playwright-report

@codeincontext codeincontext requested a review from a team September 12, 2024 10:25
Copy link
Collaborator

@mantagen mantagen left a comment

Choose a reason for hiding this comment

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

LGTM

apps/nextjs/src/app/api/chat/protocol.ts Show resolved Hide resolved
@mantagen mantagen merged commit 55b299c into main Sep 12, 2024
14 checks passed
@mantagen mantagen deleted the fix/procotol-error-format branch September 12, 2024 12:17
@oak-machine-user
Copy link
Collaborator

🎉 This PR is included in version 1.8.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants