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: Cloudflare Workers AI message handling #3321

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

deloreyj
Copy link
Contributor

Description

The chat handler wasn't handling the response object correctly. This PR unwraps the content property so Continue can handle the SSE messages correctly.

Checklist

  • [] The relevant docs, if any, have been updated or created

Screenshots

No visual changes

Testing

[ For new or modified features, provide step-by-step testing instructions to validate the intended behavior of the change. ]
[ For new UI features, ensure that the changes look good across viewport widths, light/dark theme, etc ]

Copy link

netlify bot commented Dec 11, 2024

Deploy Preview for continuedev ready!

Name Link
🔨 Latest commit 7eff255
🔍 Latest deploy log https://app.netlify.com/sites/continuedev/deploys/6759da417c7394000893dd3f
😎 Deploy Preview https://deploy-preview-3321--continuedev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@sestinj sestinj left a comment

Choose a reason for hiding this comment

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

thanks for the fix!

@sestinj sestinj merged commit 0e699e5 into continuedev:main Dec 11, 2024
13 checks passed
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