feat: 酒店预定时调用接口超时时间增大
This commit is contained in:
@@ -34,7 +34,7 @@ async def tool_book_hotel(config: RunnableConfig) -> str:
|
|||||||
# print("proj_id", proj_id)
|
# print("proj_id", proj_id)
|
||||||
# print("user_id", user_id)
|
# print("user_id", user_id)
|
||||||
|
|
||||||
async with httpx.AsyncClient() as client:
|
async with httpx.AsyncClient(timeout=60) as client:
|
||||||
response = await client.post(
|
response = await client.post(
|
||||||
url=f"http://localhost:{env.server_port}/book_hotel",
|
url=f"http://localhost:{env.server_port}/book_hotel",
|
||||||
headers={
|
headers={
|
||||||
|
|||||||
Reference in New Issue
Block a user