-
Notifications
You must be signed in to change notification settings - Fork 3.7k
fix: Compatibility fixes necessary to run 'npm install -g' for CLI #8515
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
Conversation
- Update ToolPermissionService to handle MCP server connections correctly - Remove deprecated responsesStream usage from exponentialBackoff - Fix test import order in posthogService.test.ts - Remove unused logger import from telemetryService test These changes ensure compatibility with the latest dependencies and API changes. Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]>
- Update ToolPermissionService to handle MCP server connections correctly - Remove deprecated responsesStream usage from exponentialBackoff - Add proper spacing in posthogService.test.ts imports - Remove unused logger import from telemetryService test These changes ensure compatibility with the latest dependencies and API changes. Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]>
- Update ToolPermissionService to handle MCP server connections correctly - Remove deprecated responsesStream usage from exponentialBackoff - Clean up import spacing and remove unnecessary eslint disable in posthogService.test.ts - Remove unused logger import from telemetryService test These changes ensure compatibility with the latest dependencies and API changes. Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]>
- Remove deprecated responsesStream usage from exponentialBackoff This change ensures compatibility with the latest openai-adapters API changes. Generated with [Continue](https://continue.dev) Co-Authored-By: Continue <[email protected]>
|
Without this, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rossigee these look like legit test failures, may need to just run build in packages/openai-adapters?
|
As far as I can tell, just need to run |
Fix Compatibility Issues After Main Branch Merge
Description
This PR fixes compatibility issues that arose after merging the latest changes from the main branch. The changes ensure the CLI continues to work correctly with updated dependencies.
Changes Made
exponentialBackoff.ts
isResponsesModelandresponsesStreamfrom@continuedev/openai-adapterschatCompletionStreammethodWhy These Changes Are Needed
These compatibility fixes became necessary after merging recent main branch changes that included updates to the openai-adapters package API. Without this fix, the CLI would fail to build due to the removal of the
isResponsesModelexport.Testing
npm run buildRelated Issues
These changes are compatibility fixes and prevent build failures after main branch merges.
Summary by cubic
Fix CLI compatibility with the latest @continuedev/openai-adapters so global installs (npm install -g) work again. Removed deprecated responsesStream/isResponsesModel usage and now always stream via chatCompletionStream.