async-openai icon indicating copy to clipboard operation
async-openai copied to clipboard

feat: tool management

Open cyborg42 opened this issue 7 months ago • 4 comments

add tool management for chat

cyborg42 avatar Apr 24 '25 09:04 cyborg42

This is a good idea!

Thoughts on what how this would work well with the new Responses API?

64bit avatar Jun 02 '25 00:06 64bit

I've added Responses API compatibility, but I can only test it with OpenRouter, which doesn't support the Responses API. Could you test it using the new responses-function-call example? Also, I haven't implemented Responses API for ToolCallStreamManager. Should we create a new dev branch to complete this?

cyborg42 avatar Jun 05 '25 07:06 cyborg42

I noticed that the Responses API currently doesn't support streaming, so we can focus on ToolCallStreamManager in the future.

cyborg42 avatar Jun 05 '25 09:06 cyborg42

Response API streaming support was added in https://github.com/64bit/async-openai/pull/405

64bit avatar Aug 17 '25 18:08 64bit