Skip to content
Discussion options

You must be logged in to vote

Yes — it is intended, and here is the actual call site (0.2.2-rc.1)

The upload is the DeepSeek Messages adapter's Files-API-first image pipeline,
not an Anthropic SDK side effect. Per the package README (@deepseek-ai/dsh-llm-deepseek):

DeepSeek input normally uses the Files API and uses inline base64 only for
per-request recovery.

So the inline-base64 chain you found is the recovery leg; the primary leg is
the Files upload.

Why grepping files.upload( finds nothing in @deepseek-ai/dsh-*

The sender is the adapter's own hand-rolled transport:

  • @deepseek-ai/dsh-llm-deepseek (upstream packages/llm/llm-deepseek),
    DeepSeekFilesClient.upload() (src/files-api.ts), called from the request
    loop as c…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sciman-top
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant