mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
fix(anthropic/skills): remove ?beta=true query param from Skills API URLs (#23069)
Beta access is controlled via the anthropic-beta header (already set to skills-2025-10-02), not a URL query param. The spurious ?beta=true was causing 500 errors from Anthropic's server.
This commit is contained in:
parent
66c822435e
commit
7f6adf2e1a
1 changed files with 2 additions and 2 deletions
|
|
@ -77,8 +77,8 @@ class AnthropicSkillsConfig(BaseSkillsAPIConfig):
|
|||
api_base = AnthropicModelInfo.get_api_base()
|
||||
|
||||
if skill_id:
|
||||
return f"{api_base}/v1/skills/{skill_id}?beta=true"
|
||||
return f"{api_base}/v1/{endpoint}?beta=true"
|
||||
return f"{api_base}/v1/skills/{skill_id}"
|
||||
return f"{api_base}/v1/{endpoint}"
|
||||
|
||||
def transform_create_skill_request(
|
||||
self,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue