Skip to content

Commit

Permalink
format: Update python format
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-marion committed Oct 21, 2024
1 parent 75204eb commit f227999
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
class Mode(Enum):
CHAIN = "chain"


class LLMStartHandler(BaseCallbackHandler):
prompts = []
usage = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ def __init__(self, *args, **kwargs):
# Register the adapters
registry.register(r"^bedrock.ai21.jamba*", BedrockChatAdapter)
registry.register(r"^bedrock.ai21.j2*", BedrockChatNoStreamingNoSystemPromptAdapter)
registry.register(r"^bedrock\.cohere\.command-(text|light-text).*", BedrockChatNoSystemPromptAdapter)
registry.register(
r"^bedrock\.cohere\.command-(text|light-text).*", BedrockChatNoSystemPromptAdapter
)
registry.register(r"^bedrock\.cohere\.command-r.*", BedrockChatAdapter)
registry.register(r"^bedrock.anthropic.claude*", BedrockChatAdapter)
registry.register(r"^bedrock.meta.llama*", BedrockChatAdapter)
Expand Down

0 comments on commit f227999

Please sign in to comment.