Skip to content

Commit fa62391

Browse files
authored
chore: allowlist /v1/messages/count_tokens (#34)
Signed-off-by: Danny Kopping <[email protected]>
1 parent 09de298 commit fa62391

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

provider_anthropic.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ func (p *AnthropicProvider) PassthroughRoutes() []string {
5454
return []string{
5555
"/v1/models",
5656
"/v1/models/", // See https://pkg.go.dev/net/http#hdr-Trailing_slash_redirection-ServeMux.
57+
"/v1/messages/count_tokens",
5758
}
5859
}
5960

0 commit comments

Comments
 (0)