We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4656a6 commit 4f0ef1aCopy full SHA for 4f0ef1a
aisuite/providers/together_provider.py
@@ -16,7 +16,7 @@ def __init__(self, **config):
16
Initialize the Fireworks provider with the given configuration.
17
The API key is fetched from the config or environment variables.
18
"""
19
- self.api_key = config.get("api_key") or os.getenv("TOGETHER_API_KEY")
+ self.api_key = config.get("api_key", os.getenv("TOGETHER_API_KEY"))
20
if not self.api_key:
21
raise ValueError(
22
"Together API key is missing. Please provide it in the config or set the TOGETHER_API_KEY environment variable."
0 commit comments