[FEAT] Claude 3 support and implement new version of Anthropic SDK (#863)

* implement new version of anthropic sdk and support new models

* remove handleAnthropicStream and move to handleStream inside anthropic provider

* update useGetProvidersModels for new anthropic models
This commit is contained in:
Sean Hatfield
2024-03-06 14:57:47 -08:00
committed by GitHub
parent 0634013788
commit e0d5d8039a
6 changed files with 146 additions and 82 deletions

View File

@@ -20,7 +20,7 @@
"seed": "node prisma/seed.js"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.8.1",
"@anthropic-ai/sdk": "^0.16.1",
"@azure/openai": "1.0.0-beta.10",
"@datastax/astra-db-ts": "^0.1.3",
"@google/generative-ai": "^0.1.3",