Skip to content

[Feature]: deepseek ask file upload support #1092

@Benjamin-eecs

Description

@Benjamin-eecs

Feature Description

The DeepSeek adapter (#1088) supports ask, new, status, read, history with model/think/search toggles. Currently there is no way to attach files when sending prompts. Adding a --file flag to deepseek ask would allow attaching local files (PDF, image, text) to prompts.

Use Case

When using opencli deepseek ask to analyze a document or review code, users currently have to manually open the browser and upload files through the web UI. A --file flag would let users do everything from the terminal:

opencli deepseek ask "summarize this paper" --file ./paper.pdf
opencli deepseek ask "review this code" --file ./main.py
opencli deepseek ask "describe this image" --file ./screenshot.png

This is especially useful for AI agent workflows where file analysis needs to be automated without human interaction.

Proposed Solution

Add a --file flag to deepseek ask that reads the local file and attaches it through the browser UI upload flow, then sends the prompt with the file attached.

Alternatives Considered

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions