Skip to content

Commit 3394410

Browse files
committed
Add a check for the OPENAI_KEY in the GitHub actions file
1 parent 210e607 commit 3394410

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

tools/llm_meetup_summary/llm_event_summary.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,6 @@ def _get_llm_summary(formatted_events):
124124
with open(os.path.join(examples_dir, "current_prompt.md"), 'w') as txt:
125125
txt.write(prompt) # save for reference
126126

127-
# Final check for open AI key
128-
print("First 10 characters of key", OPENAI_API_KEY[:10] if OPENAI_API_KEY else "None")
129-
openai.api_key = OPENAI_API_KEY
130-
131127
response = openai.chat.completions.create(
132128
model=MODEL,
133129
messages=[{"role": "user", "content": prompt}],

0 commit comments

Comments
 (0)