Skip to content

Commit b4656a6

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aisuite/providers/fireworks_provider.py

Lines changed: 1 addition & 1 deletion
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("FIREWORKS_API_KEY")
19+
self.api_key = config.get("api_key", os.getenv("FIREWORKS_API_KEY"))
2020
if not self.api_key:
2121
raise ValueError(
2222
"Fireworks API key is missing. Please provide it in the config or set the FIREWORKS_API_KEY environment variable."

0 commit comments

Comments
 (0)