Skip to content

fix(client): update response_text after parsing response #1093

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

Merged
merged 1 commit into from
Apr 4, 2025

Conversation

deathbeam
Copy link
Collaborator

The response_text variable was being captured before the response body was parsed. This commit ensures that response_text is updated after parsing is complete, which provides the correct final text for processing.

Closes #1064

The response_text variable was being captured before the response body
was parsed. This commit ensures that response_text is updated after
parsing is complete, which provides the correct final text for
processing.

Closes CopilotC-Nvim#1064
@deathbeam deathbeam merged commit 34d1b4f into CopilotC-Nvim:main Apr 4, 2025
4 checks passed
@deathbeam deathbeam deleted the fix-o1 branch April 4, 2025 00:33
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.

o1 model doesn't work
1 participant