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

feat: support patching request url, headers and body #756

Merged
merged 2 commits into from
Jul 27, 2024
Merged

feat: support patching request url, headers and body #756

merged 2 commits into from
Jul 27, 2024

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Jul 27, 2024

Now we can patch request headers

  - type: claude
    patch:
      chat_completions:
        'claude-3-5-sonnet-20240620':
          headers:
            anthropic-beta: max-tokens-3-5-sonnet-2024-07-15
          body:
            max_tokens: 8192

@sigoden
Copy link
Owner Author

sigoden commented Jul 27, 2024

This PR make #754 invalid

@sigoden sigoden merged commit f5e8e87 into main Jul 27, 2024
3 checks passed
@sigoden sigoden deleted the feat branch July 27, 2024 13: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.

1 participant