Spaces:
Sleeping
Sleeping
sunheycho
commited on
Commit
·
060210b
1
Parent(s):
477a402
Update model to gpt-4o-mini for cost optimization
Browse files- Changed from gpt-5 to gpt-4o-mini model
- Updated print statement to reflect correct model name
- Should reduce API costs while maintaining good performance
- product_comparison.py +1 -1
product_comparison.py
CHANGED
|
@@ -164,7 +164,7 @@ class BaseAgent:
|
|
| 164 |
api_key = os.environ.get('OPENAI_API_KEY')
|
| 165 |
if api_key:
|
| 166 |
self.llm = ChatOpenAI(
|
| 167 |
-
model="gpt-
|
| 168 |
temperature=0.7,
|
| 169 |
api_key=api_key
|
| 170 |
)
|
|
|
|
| 164 |
api_key = os.environ.get('OPENAI_API_KEY')
|
| 165 |
if api_key:
|
| 166 |
self.llm = ChatOpenAI(
|
| 167 |
+
model="gpt-5-mini",
|
| 168 |
temperature=0.7,
|
| 169 |
api_key=api_key
|
| 170 |
)
|