Skip to content

[feat] update for tool handling generically #130

@csells

Description

@csells

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.😭

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions