mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
test(github-copilot): update rebased header defaults
This commit is contained in:
parent
e552f53f80
commit
56d338cc70
2 changed files with 4 additions and 4 deletions
|
|
@ -96,8 +96,8 @@ class TestGithubCopilotResponsesAPITransformation:
|
|||
assert headers["content-type"] == "application/json"
|
||||
assert headers["copilot-integration-id"] == "vscode-chat"
|
||||
assert headers["editor-version"] == "vscode/1.115.0"
|
||||
assert headers["editor-plugin-version"] == "copilot-chat/0.44.0"
|
||||
assert headers["user-agent"] == "GitHubCopilotChat/0.44.0"
|
||||
assert headers["editor-plugin-version"] == "copilot-chat/0.26.7"
|
||||
assert headers["user-agent"] == "GitHubCopilotChat/0.26.7"
|
||||
assert "openai-intent" not in headers
|
||||
assert "x-github-api-version" not in headers
|
||||
assert "x-request-id" not in headers
|
||||
|
|
|
|||
|
|
@ -114,8 +114,8 @@ class TestGitHubCopilotAuthenticator:
|
|||
"content-type": "application/json",
|
||||
"copilot-integration-id": "vscode-chat",
|
||||
"editor-version": "vscode/1.115.0",
|
||||
"editor-plugin-version": "copilot-chat/0.44.0",
|
||||
"user-agent": "GitHubCopilotChat/0.44.0",
|
||||
"editor-plugin-version": "copilot-chat/0.26.7",
|
||||
"user-agent": "GitHubCopilotChat/0.26.7",
|
||||
}
|
||||
|
||||
def test_auth_requests_support_opencode_identity(self, authenticator, mock_http_client):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue