mirror of
https://github.com/humanlayer/humanlayer.git
synced 2025-08-20 19:01:22 +03:00
Update examples/chainlit/app.py
This commit is contained in:
@@ -103,7 +103,7 @@ logger = logging.getLogger(__name__)
|
||||
async def run_chain(messages: list[dict], tools_openai: list[dict], tools_map: dict) -> str:
|
||||
client = AsyncOpenAI()
|
||||
response = await client.chat.completions.create(
|
||||
model="gpt-4",
|
||||
model="gpt-4o",
|
||||
messages=messages,
|
||||
tools=tools_openai,
|
||||
tool_choice="auto",
|
||||
|
||||
@@ -72,11 +72,6 @@ const emailChannel = {
|
||||
contextAboutUser: 'the support team',
|
||||
},
|
||||
}
|
||||
|
||||
// Multiple channels
|
||||
const multiChannel = {
|
||||
all_of: [slackChannel, emailChannel],
|
||||
}
|
||||
```
|
||||
|
||||
## Response Options
|
||||
|
||||
Reference in New Issue
Block a user