mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-10 16:22:17 +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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user