Skip to content

Commit e6419f2

Browse files
committed
and reverting setting API key
1 parent a71fd4c commit e6419f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/services/clustering.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
async def summarize_clusters(ranked_ideas: List[RankedIdea]) -> List[ClusterName]:
1111
api_key = settings.OPENAI_API_KEY
12-
print('Using OPENAI_API_KEY: ', api_key[:5] + '...' + api_key[-5:])
13-
client = OpenAI(api_key)
12+
client = OpenAI()
13+
client.api_key = api_key
1414

1515
# Group ideas by cluster
1616
clusters = {}

0 commit comments

Comments
 (0)