Skip to content

Commit

Permalink
使用异步方式调用tool,解决当tool为agent时的阻塞问题
Browse files Browse the repository at this point in the history
  • Loading branch information
xiabo0816 committed Jun 14, 2024
1 parent 63a3e31 commit ab3abc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erniebot-agent/src/erniebot_agent/tools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from openapi_spec_validator import validate
from openapi_spec_validator.readers import read_from_filename
from requests import Response
from httpx._models import Response

from erniebot_agent.file import File, FileManager
from erniebot_agent.file.protocol import (
Expand Down

0 comments on commit ab3abc4

Please sign in to comment.