Skip to content

Commit

Permalink
use optional
Browse files Browse the repository at this point in the history
  • Loading branch information
jwlee64 committed Dec 14, 2024
1 parent fc5e18c commit c09b1f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weave/trace_server/llm_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
def lite_llm_completion(
api_key: str,
inputs: tsi.CompletionsCreateRequestInputs,
provider: str | None = None,
provider: Optional[str] = None,
) -> tsi.CompletionsCreateRes:
aws_access_key_id, aws_secret_access_key, aws_region_name = None, None, None
if provider == "bedrock" or provider == "bedrock_converse":
Expand Down

0 comments on commit c09b1f7

Please sign in to comment.