SIGN IN SIGN UP

feat: Refactor subscription streaming and plumb through anthropic support (#5105)

* Extract/Refactor OpenAI/AzureOpenAI model interfaces

* Add Anthropic client

* Use new payload type

* run anthropic and fix most of the types

* use abc

* add anthropic to type check dependencies

* add anthropic as a container dependency

* fix tool calls for openai

* add back in token usage

* fix type

---------

Co-authored-by: Alexander Song <axiomofjoy@gmail.com>
D
Dustin Ngo committed
d405f6178ad00e85cf852ae4a772363ab71d1a25
Parent: 33eac82
Committed by GitHub <noreply@github.com> on 10/19/2024, 12:47:18 AM