Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1548,7 +1548,7 @@ prompt_template = ChatPromptTemplate.from_messages(
|
|
| 1548 |
|
| 1549 |
# Create Langchain Agent with specific model and temperature
|
| 1550 |
try:
|
| 1551 |
-
llm = ChatOpenAI(model="gpt-4o", temperature=0.
|
| 1552 |
llm_with_tools = llm.bind_tools(tools)
|
| 1553 |
except Exception as e:
|
| 1554 |
logger.error(f"Error creating Langchain Agent: {e}")
|
|
|
|
| 1548 |
|
| 1549 |
# Create Langchain Agent with specific model and temperature
|
| 1550 |
try:
|
| 1551 |
+
llm = ChatOpenAI(model="gpt-4o", temperature=0.5)
|
| 1552 |
llm_with_tools = llm.bind_tools(tools)
|
| 1553 |
except Exception as e:
|
| 1554 |
logger.error(f"Error creating Langchain Agent: {e}")
|