We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a71fd4c commit e6419f2Copy full SHA for e6419f2
app/services/clustering.py
@@ -9,8 +9,8 @@
9
10
async def summarize_clusters(ranked_ideas: List[RankedIdea]) -> List[ClusterName]:
11
api_key = settings.OPENAI_API_KEY
12
- print('Using OPENAI_API_KEY: ', api_key[:5] + '...' + api_key[-5:])
13
- client = OpenAI(api_key)
+ client = OpenAI()
+ client.api_key = api_key
14
15
# Group ideas by cluster
16
clusters = {}
0 commit comments