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

chore: support request headers template #4418

Merged

Conversation

louis-menlo
Copy link
Contributor

Describe Your Changes

This PR added support for custom request headers, such as anthropic requires version header to work. Deprecated API Key template since it's a part of request headers template already.

CleanShot 2025-01-08 at 07 27 01@2x

Self Checklist

This pull request includes changes to update the handling of API key templates to header templates, and to improve the filtering logic in the ModelDropdown component. The most important changes include renaming api_key_template to header_template across various files and modifying the ModelDropdown component to handle potential undefined values.

Updates to API key templates:

Improvements to filtering logic:

@github-actions github-actions bot added the type: chore Maintenance, operational label Jan 8, 2025
Copy link
Contributor

github-actions bot commented Jan 8, 2025

This is the build for this pull request. You can download it from the Artifacts section here: Build URL.

@louis-menlo louis-menlo merged commit e0709ab into feat/remote-engine Jan 8, 2025
13 checks passed
@louis-menlo louis-menlo deleted the chore/remote-engine-header-template branch January 8, 2025 02:16
@github-actions github-actions bot added this to the v0.5.14 milestone Jan 8, 2025
@imtuyethan imtuyethan modified the milestones: v0.5.14, v0.5.15 Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: chore Maintenance, operational
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants