cg-dot / vertexai-cf-workers

Vertex AI (GCP) Claude Proxy via Cloudflare workers
627 stars 98 forks source link

fix Anthropic Request failed: 400, cache_control not permitted #21

Open bingcheng1998 opened 4 weeks ago

bingcheng1998 commented 4 weeks ago

For webUI tools, like LibreChat, may cause the following error.

{"type":"error","error":{"type":"invalid_request_error","message":"*.cache_control: Extra inputs are not permitted"}}

This could be fixed by remove *.cache_control from the request body