-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat: add Requesty API provider support #658
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
feat: add Requesty API provider support #658
Conversation
|
ea9eb94 to
3254ba5
Compare
3254ba5 to
9070d48
Compare
da1a7a4 to
1418cfa
Compare
src/shared/api.ts
Outdated
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.
Maybe should move this down below glamaDefaultModelInfo
src/shared/checkExistApiConfig.ts
Outdated
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.
Good catch
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.
Does this z index need to be model specific?
mrubens
left a comment
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.
Two tiny nitpicks but this looks good otherwise! @cte you have a PR somewhere to unify these model pickers right - how do you think we should sequence the merging?
Great, it's in! #848 (comment) |
- Add RequestyHandler implementation for API integration - Add RequestyModelPicker component for model selection - Update shared types and messages for Requesty support - Update API options to include Requesty provider
- Add OpenAiHandlerOptions interface for configuration - Extract processUsageMetrics to base class for reuse - Update RequestyHandler to extend OpenAiHandler - Add proper type safety for metrics handling - Clean up code duplication across handlers
c35ac8e to
d6e55af
Compare
|
If Requesty hasn't been merged in yet I'd like to see if we could test their fallback policies. Support gets a lot of asks regarding API timeouts. https://discord.com/channels/1326908673489899560/1326908939509436489/1338529006466629692 https://www.loom.com/share/cf96bb85b2d046ba8f24748ba18b7cd1?sid=20b5b4dd-a7e5-4eee-9e1f-5fb3bb06d9af |
@amazon1148 can you test it with me ? |
|
I'm going to merge this into main, but happy to make more changes as a follow-up if necessary! Let me know. |
Description
Type of change
How Has This Been Tested?
Checklist:
Additional context
Related Issues
Reviewers
Important
Add support for Requesty API provider, including handler, model picker, and integration into existing API configuration and model management.
RequestyHandlerinrequesty.tsfor API integration, supporting message creation and prompt completion.RequestyModelPickercomponent for model selection inRequestyModelPicker.tsx.ClineProvider.tsto handle Requesty models and API keys.requestyDefaultModelIdandrequestyDefaultModelInfotoapi.ts.requestyModelInfoSaneDefaultstoapi.ts.RequestyHandlerinrequesty.test.ts.checkExistApiConfig.test.tsto includerequestyApiKey.ApiOptions.tsxto include Requesty API options.requestyModelshandling inExtensionStateContext.tsx.ExtensionMessage.tsandWebviewMessage.tsto support Requesty messages.This description was created by
for 3254ba502578e52c6b39707ddb25db6716561db6. It will automatically update as commits are pushed.