Skip to content

Add CustomUid to ChatCompletionRequest #1094

@walingcc

Description

@walingcc

Describe the change
Add CustomUid to ChatCompletionRequest

curl --location --request POST 'http://localhost:3000/api/v1/chat/completions' \
--header 'Authorization: Bearer fastgpt-xxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
    "stream": false,
    "detail": false,
    "messages": [
        {
            "content": "Hello",
            "role": "user"
        }
    ],
    "customUid": "xxxxxx"
}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions