Changes to Create a chat completion

POST /chat/completions

Every recorded change to this endpoint, newest first. Back to the operation

Changed in 14 of the 56 revisions of this API.112239

  1. 16a952d15e3c4
  2. b8f52abd9b461
  3. a52394ec17281
  4. 8826c77313d21
  5. b3724a6ffd5617
  6. e41281e794691
  7. f229066c04d7231
  8. b1a0a6dfc3812
  9. 3b3a2b57119b1
  10. 7b573cae8a961
  11. 9d6f6dd5542d11
  12. 595fdf8209351
  13. 00cbec1364971
  14. 70bffe5f3ff68196

What changed

    • added the optional property oneOf[CreateChatCompletionStreamResponse]/usage/completion_tokens_details to the response with the 200 status (media type: text/event-stream)

      response-optional-property-added

    • added the optional property oneOf[CreateChatCompletionStreamResponse]/usage/prompt_tokens_details to the response with the 200 status (media type: text/event-stream)

      response-optional-property-added

    • added the optional property usage/completion_tokens_details to the response with the 200 status (media type: application/json)

      response-optional-property-added

    • added the optional property usage/prompt_tokens_details to the response with the 200 status (media type: application/json)

      response-optional-property-added

    • added the new enum value llamacpp to the query request parameter provider

      request-parameter-enum-value-added

    • added the new enum value zai to the query request parameter provider

      request-parameter-enum-value-added

    • added the new enum value nvidia to the query request parameter provider

      request-parameter-enum-value-added

    • added the new optional request property frequency_penalty

      new-optional-request-property

    • added the new optional request property logit_bias

      new-optional-request-property

    • added the new optional request property logprobs

      new-optional-request-property

    • added the new optional request property max_completion_tokens

      new-optional-request-property

    • added the new optional request property n

      new-optional-request-property

    • added the new optional request property parallel_tool_calls

      new-optional-request-property

    • added the new optional request property presence_penalty

      new-optional-request-property

    • added the new optional request property reasoning_effort

      new-optional-request-property

    • added the new optional request property response_format

      new-optional-request-property

    • added the new optional request property seed

      new-optional-request-property

    • added the new optional request property stop

      new-optional-request-property

    • added the new optional request property temperature

      new-optional-request-property

    • added the new optional request property tool_choice

      new-optional-request-property

    • added the new optional request property top_logprobs

      new-optional-request-property

    • added the new optional request property top_p

      new-optional-request-property

    • added the new optional request property user

      new-optional-request-property

    • request property max_tokens deprecated

      request-property-deprecated

    • added the new enum value minimax to the query request parameter provider

      request-parameter-enum-value-added

  • f229066c04d7231See the full diff
    • added SSEvent CreateChatCompletionStreamResponse to the response body oneOf list for the response status 200 (media type: text/event-stream)

      response-body-one-of-added

    • the response's body type/format changed from object/ to / for status 200 (media type: text/event-stream)

      response-body-type-changed

    • removed the optional property data from the response with the 200 status (media type: text/event-stream)

      response-optional-property-removed

    • removed the optional property event from the response with the 200 status (media type: text/event-stream)

      response-optional-property-removed

    • removed the optional property retry from the response with the 200 status (media type: text/event-stream)

      response-optional-property-removed

    • added the optional property choices/items/logprobs to the response with the 200 status (media type: application/json)

      response-optional-property-added

    • added the new optional request property messages/items/tool_calls/items/extra_content

      new-optional-request-property

    • added the optional property choices/items/message/tool_calls/items/extra_content to the response with the 200 status

      response-optional-property-added

    • added the new enum value moonshot to the query request parameter provider

      request-parameter-enum-value-added

    • added the new enum value ollama_cloud to the query request parameter provider

      request-parameter-enum-value-added

  • 9d6f6dd5542d11See the full diff
    • response property choices/items/message/content list-of-types was widened by adding types array to media type application/json of response 200

      response-property-list-of-types-widened

    • request property messages/items/content list-of-types was widened by adding types array to media type application/json

      request-property-list-of-types-widened

    • added the new enum value mistral to the query request parameter provider

      request-parameter-enum-value-added

    • added the new enum value google to the query request parameter provider

      request-parameter-enum-value-added

  • 70bffe5f3ff68196See the full diff
    • removed the enum value google from the query request parameter provider

      request-parameter-enum-value-removed

    • removed the enum value minimax from the query request parameter provider

      request-parameter-enum-value-removed

    • removed the enum value mistral from the query request parameter provider

      request-parameter-enum-value-removed

    • removed the enum value moonshot from the query request parameter provider

      request-parameter-enum-value-removed

    • removed the enum value nvidia from the query request parameter provider

      request-parameter-enum-value-removed

    • removed the enum value ollama_cloud from the query request parameter provider

      request-parameter-enum-value-removed

    • removed the enum value zai from the query request parameter provider

      request-parameter-enum-value-removed

    • request property messages/items/content list-of-types was narrowed by removing types array from media type application/json

      request-property-list-of-types-narrowed

    • removed the request property frequency_penalty

      request-property-removed

    • removed the request property logit_bias

      request-property-removed

    • removed the request property logprobs

      request-property-removed

    • removed the request property max_completion_tokens

      request-property-removed

    • removed the request property messages/items/tool_calls/items/extra_content

      request-property-removed

    • removed the request property n

      request-property-removed

    • removed the request property parallel_tool_calls

      request-property-removed

    • removed the request property presence_penalty

      request-property-removed

    • removed the request property reasoning_effort

      request-property-removed

    • removed the request property response_format

      request-property-removed

    • removed the request property seed

      request-property-removed

    • removed the request property stop

      request-property-removed

    • removed the request property temperature

      request-property-removed

    • removed the request property tool_choice

      request-property-removed

    • removed the request property top_logprobs

      request-property-removed

    • removed the request property top_p

      request-property-removed

    • removed the request property user

      request-property-removed

    • removed the optional property choices/items/logprobs from the response with the 200 status (media type: application/json)

      response-optional-property-removed

    • removed the optional property choices/items/message/tool_calls/items/extra_content from the response with the 200 status (media type: application/json)

      response-optional-property-removed

    • request property max_tokens reactivated

      request-property-reactivated

    • removed SSEvent CreateChatCompletionStreamResponse from the response body oneOf list for the response status 200 (media type: text/event-stream)

      response-body-one-of-removed

    • added the optional property data to the response with the 200 status (media type: text/event-stream)

      response-optional-property-added

    • added the optional property event to the response with the 200 status (media type: text/event-stream)

      response-optional-property-added

    • added the optional property retry to the response with the 200 status (media type: text/event-stream)

      response-optional-property-added

    • response property choices/items/message/content list-of-types was narrowed by removing types array from media type application/json of response 200

      response-property-list-of-types-narrowed

    This revision also has 38 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog