-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: tool abstraction #356
Conversation
agents/ten_packages/system/ten_ai_base/interface/ten_ai_base/llm.py
Outdated
Show resolved
Hide resolved
agents/ten_packages/system/ten_ai_base/interface/ten_ai_base/llm.py
Outdated
Show resolved
Hide resolved
agents/ten_packages/system/ten_ai_base/interface/ten_ai_base/llm.py
Outdated
Show resolved
Hide resolved
agents/ten_packages/system/ten_ai_base/interface/ten_ai_base/log.py
Outdated
Show resolved
Hide resolved
agents/ten_packages/system/ten_ai_base/interface/ten_ai_base/helper.py
Outdated
Show resolved
Hide resolved
agents/ten_packages/system/ten_ai_base/interface/ten_ai_base/llm.py
Outdated
Show resolved
Hide resolved
async_ten_env.log_warn(f"on_cmd failed: {err}") | ||
async_ten_env.return_result(CmdResult.create(StatusCode.ERROR), cmd) | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about on_data? and what about the extension template?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no_data is not complicated. so i suggest to provide default implementation in template.
template is difinitely needed but it should be put into TEN?
agents/ten_packages/system/ten_ai_base/interface/ten_ai_base/llm.py
Outdated
Show resolved
Hide resolved
agents/ten_packages/system/ten_ai_base/interface/ten_ai_base/llm.py
Outdated
Show resolved
Hide resolved
agents/ten_packages/system/ten_ai_base/interface/ten_ai_base/llm_tool.py
Outdated
Show resolved
Hide resolved
agents/ten_packages/system/ten_ai_base/interface/ten_ai_base/types.py
Outdated
Show resolved
Hide resolved
- use member variable instead of class - set system package variable in bin/start - remove token in property.json
- added comments
No description provided.