[feat] update for tool handling generically
Open
- Dominant language
- Dart
- Stars
- 286
- Forks
- 94
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the AI Toolkit allows for tool usage if the provider exposes that functionality. However, it's a big pain to manage the history in that case, since the tool calls and results have no mappings and you want to keep those in the history.
And, the tool handling changes based on what LLM you're using.
But worst of all, if the `LlmChatView` or app in some other way calls `DartanticProvider.history = ...`, then all of the tool calls in the history will be lost.😭
Contributor guide
Assessment
This issue has not been assessed yet.