ollama-python icon indicating copy to clipboard operation
ollama-python copied to clipboard

No proper support for Tool Messages?

Open sadaisystems opened this issue 9 months ago • 0 comments

According to example and definition of Message model, it seems like there is no way to actually represent executed tool message as a Message model, only using dictionary?

I'm arriving at this conclusion because Message model doesn't have a filed called "name" which is required for executed tool message as per the example.

Why is this the case? Any plans on unifying message abstraction in the future?

sadaisystems avatar Mar 04 '25 19:03 sadaisystems