async-openai
async-openai copied to clipboard
feat: tool management
add tool management for chat
This is a good idea!
Thoughts on what how this would work well with the new Responses API?
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?
I noticed that the Responses API currently doesn't support streaming, so we can focus on ToolCallStreamManager in the future.
Response API streaming support was added in https://github.com/64bit/async-openai/pull/405