Skip to content

[Feature Request]: OpenAI-Compatible API attachment files #5637

@wikylyu

Description

@wikylyu

Is there an existing issue for the same feature request?

  • I have checked the existing issues.

Is your feature request related to a problem?

We want to manage chat sessions by ourselves, and OpenAI-Compatible API is quite useful in this case.
But it doesn't support attachment files.

Describe the feature you'd like

add a field called files in messages

{
    "messages": [{"role":"user","content":"hello","files":[{"blob":"...","display_name":"a.txt"}]}]
}

Describe implementation you've considered

No response

Documentation, adoption, use case

Additional information

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