Skip to content

Commit 4f0ef1a

Browse files
rohitprasad15ksolo
andauthored
Update aisuite/providers/together_provider.py
Co-authored-by: Kevin Solorio <[email protected]>
1 parent b4656a6 commit 4f0ef1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aisuite/providers/together_provider.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def __init__(self, **config):
1616
Initialize the Fireworks provider with the given configuration.
1717
The API key is fetched from the config or environment variables.
1818
"""
19-
self.api_key = config.get("api_key") or os.getenv("TOGETHER_API_KEY")
19+
self.api_key = config.get("api_key", os.getenv("TOGETHER_API_KEY"))
2020
if not self.api_key:
2121
raise ValueError(
2222
"Together API key is missing. Please provide it in the config or set the TOGETHER_API_KEY environment variable."

0 commit comments

Comments
 (0)