Skip to content

Commit

Permalink
Fix - should not crash on missing openAI key
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman committed Nov 23, 2024
1 parent e5c78e4 commit 3e63f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/core/kiln_ai/adapters/fine_tune/openai_finetune.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from kiln_ai.utils.config import Config

oai_client = openai.OpenAI(
api_key=Config.shared().open_ai_api_key,
api_key=Config.shared().open_ai_api_key or "",
)


Expand Down

0 comments on commit 3e63f28

Please sign in to comment.