Skip to content

Commit

Permalink
add more keys for different llm providers
Browse files Browse the repository at this point in the history
  • Loading branch information
the-praxs committed Jan 13, 2025
1 parent d83210b commit 751873b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/fixtures/vcr.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,25 @@ def vcr_config():
("x-ratelimit-remaining-tokens", "REDACTED"),
("x-ratelimit-reset-requests", "REDACTED"),
("x-ratelimit-reset-tokens", "REDACTED"),
# Mistral headers
("x-mistral-api-key", "REDACTED"),
# Groq headers
("x-groq-api-key", "REDACTED"),
# LiteLLM headers
("x-litellm-api-key", "REDACTED"),
# Ollama headers
("x-ollama-api-key", "REDACTED"),
# TaskWeaver headers
("x-taskweaver-api-key", "REDACTED"),
# Additional provider version headers
("anthropic-version", "REDACTED"),
("cohere-version", "REDACTED"),
("x-stainless-lang", "REDACTED"),
("x-stainless-arch", "REDACTED"),
("x-stainless-os", "REDACTED"),
("x-stainless-async", "REDACTED"),
("x-stainless-runtime", "REDACTED"),
("x-stainless-runtime-version", "REDACTED"),
]

def filter_response_headers(response):
Expand Down

0 comments on commit 751873b

Please sign in to comment.