Skip to content

Commit

Permalink
Black it
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed Nov 11, 2024
1 parent 8189be3 commit 08f263b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions haystack/nodes/prompt/invocation_layer/anthropic_claude.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
# Anthropic removed tokenizer.json from their repo (https://github.com/anthropics/anthropic-sdk-python/pull/726),
# we need to use the commit from the latest version of the SDK that still
# has it, i.e. 0.38.0 and commit hash 14afc93ffd809e60666a267763a57a328184c5e4.
CLAUDE_TOKENIZER_REMOTE_FILE = (
"https://raw.githubusercontent.com/anthropics/anthropic-sdk-python/14afc93ffd809e60666a267763a57a328184c5e4/src/anthropic/tokenizer.json"
)
CLAUDE_TOKENIZER_REMOTE_FILE = "https://raw.githubusercontent.com/anthropics/anthropic-sdk-python/14afc93ffd809e60666a267763a57a328184c5e4/src/anthropic/tokenizer.json"


class AnthropicClaudeInvocationLayer(PromptModelInvocationLayer):
Expand Down

0 comments on commit 08f263b

Please sign in to comment.