Skip to content

ai/core anthropic provider (no tool calls)#1260

Merged
lgrammel merged 12 commits intomainfrom
lg/core-anthropic-provider
Apr 4, 2024
Merged

ai/core anthropic provider (no tool calls)#1260
lgrammel merged 12 commits intomainfrom
lg/core-anthropic-provider

Conversation

@lgrammel
Copy link
Copy Markdown
Collaborator

@lgrammel lgrammel commented Apr 2, 2024

Summary

  • Add Anthropic provider with messages API support (no tool calls)
  • Add automatic mimetype detection for non-URL images

@lgrammel lgrammel self-assigned this Apr 2, 2024
@lgrammel lgrammel changed the title ai/core anthropic provider [WIP] ai/core anthropic provider Apr 2, 2024
@lgrammel lgrammel changed the title [WIP] ai/core anthropic provider ai/core anthropic provider (no tool calls) Apr 3, 2024
@lgrammel lgrammel marked this pull request as ready for review April 3, 2024 17:17
"scripts": {
"build": "tsup && cat react/dist/index.server.d.ts >> react/dist/index.d.ts",
"clean": "rm -rf dist && rm -rf core/dist && rm -rf google/dist && rm -rf openai/dist && rm -rf mistral/dist && rm -rf spec/dist && rm -rf react/dist && rm -rf svelte/dist && rm -rf vue/dist && rm -rf solid/dist && rm -rf rsc/dist",
"clean": "rm -rf dist && rm -rf core/dist && rm -rf google/dist && rm -rf anthropic/dist && rm -rf openai/dist && rm -rf mistral/dist && rm -rf spec/dist && rm -rf react/dist && rm -rf svelte/dist && rm -rf vue/dist && rm -rf solid/dist && rm -rf rsc/dist",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should probably be broken up into clean:{provider} at some point like test. We can use something like https://www.npmjs.com/package/npm-run-all for concurrency

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, ideally I'd like to move the providers to separate packages.

@lgrammel lgrammel merged commit 63d587e into main Apr 4, 2024
@lgrammel lgrammel deleted the lg/core-anthropic-provider branch April 4, 2024 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants