ms-agent icon indicating copy to clipboard operation
ms-agent copied to clipboard

function call正常运行,但import similar_text failed, details: 'similar_text',咋回事呢

Open njhouse365 opened this issue 1 year ago • 2 comments

Initial Checks

  • [ ] I have searched GitHub for a duplicate issue and I'm sure this is something new
  • [ ] I have read and followed the docs & demos and still think this is a bug
  • [ ] I am confident that the issue is with modelscope-agent (not my code, or another library in the ecosystem)

What happened + What you expected to happen

function call正常运行,但import similar_text failed, details: 'similar_text',咋回事呢

Versions / Dependencies

function call正常运行,但import similar_text failed, details: 'similar_text',咋回事呢

Reproduction script

function call正常运行,但import similar_text failed, details: 'similar_text',咋回事呢

Issue Severity

None

njhouse365 avatar May 29 '24 03:05 njhouse365

有具体相关代码么?

zzhangpurdue avatar May 30 '24 03:05 zzhangpurdue

在tool包下init.py和base.py加入函数声明就解决了

njhouse365 avatar May 30 '24 07:05 njhouse365