Changes to POST /api/internal/chat/completions

POST /api/internal/chat/completions

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

Changed in 7 of the 19 revisions of this API.13637

  1. 872932ae0b8a1
  2. 6fce808cc14e9510
  3. 3eac827d87b913
  4. 4ba54de0b7076
  5. 6251de8da20038
  6. 5dacf54bc4d22
  7. 70f7bad608d617

What changed

    • the response_format request property default value {"type":"text","json_schema":{}} was removed

      request-property-default-value-removed

  • 6fce808cc14e9510See the full diff
    • removed subschema #1 subschema #2 from the tool_choice request property anyOf list

      request-property-any-of-removed

    • request property messages/items/tool_calls/items/type was restricted to a list of enum values

      request-property-became-enum

    • the response property choices/items/logprobs became nullable for the status 200 (media type: text/event-stream)

      response-property-became-nullable

    • the response property choices/items/message/content became nullable for the status 200 (media type: application/json)

      response-property-became-nullable

    • the response property system_fingerprint became nullable for the status 200 (media type: application/json)

      response-property-became-nullable

    • the object response property const value chat.completion was removed for the status 200 (media type: application/json)

      response-property-const-removed

    • the object response property const value chat.completion.chunk was removed for the status 200 (media type: text/event-stream)

      response-property-const-removed

    • the type response property const value function was removed for the status 200 (media type: application/json)

      response-property-const-removed

    • the type response property const value function was removed for the status 200 (media type: text/event-stream)

      response-property-const-removed

    • the max_completion_tokens request property's min was set to 0.00

      request-property-min-set

    • added the new chat.completion enum value to the object response property for the response status 200 (media type: application/json)

      response-property-enum-value-added

    • added the new chat.completion.chunk enum value to the object response property for the response status 200 (media type: text/event-stream)

      response-property-enum-value-added

    • added the new function enum value to the choices/items/delta/tool_calls/items/type response property for the response status 200 (media type: text/event-stream)

      response-property-enum-value-added

    • added the new function enum value to the choices/items/message/tool_calls/items/type response property for the response status 200 (media type: application/json)

      response-property-enum-value-added

    • added subschema #1 subschema #2 to the tool_choice request property anyOf list

      request-property-any-of-added

    • the request property max_completion_tokens became nullable

      request-property-became-nullable

    • the request property messages/items/content became nullable

      request-property-became-nullable

    • the request property response_format/json_schema/additionalProperties/ became nullable

      request-property-became-nullable

    • the request property temperature became nullable

      request-property-became-nullable

    • the request property tools/items/ became nullable

      request-property-became-nullable

    • the request property top_p became nullable

      request-property-became-nullable

    • the type request property const value function was removed

      request-property-const-removed

    • added the new function enum value to the request property messages/items/tool_calls/items/type

      request-property-enum-value-added

    • the max_completion_tokens request property's exclusiveMinimum was decreased from 0.00 to true

      request-property-exclusive-min-decreased

  • 3eac827d87b913See the full diff
    • added the new tool enum value to the choices/items/message/role response property for the response status 200

      response-property-enum-value-added

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

      response-optional-property-added

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

      response-optional-property-added

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

      response-optional-property-added

    • added the new optional request property messages/items/name

      new-optional-request-property

    • added the new optional request property messages/items/tool_call_id

      new-optional-request-property

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

      new-optional-request-property

    • the request property messages/items/content became nullable

      request-property-became-nullable

    • the request property messages/items/content became optional

      request-property-became-optional

    • added the new tool enum value to the request property messages/items/role

      request-property-enum-value-added

  • 6251de8da20038See the full diff
    • the request property messages/items/content became not nullable

      request-property-became-not-nullable

    • the request property messages/items/content became required

      request-property-became-required

    • the messages/items/content request property type/format changed from null/ to string/

      request-property-type-changed

    • added the optional property service_tier to the response with the 200 status

      response-optional-property-added

    • added the optional property system_fingerprint to the response with the 200 status

      response-optional-property-added

    • added the optional property usage to the response with the 200 status

      response-optional-property-added

    • added the required property choices to the response with the 200 status

      response-required-property-added

    • added the required property created to the response with the 200 status

      response-required-property-added

    • added the required property id to the response with the 200 status

      response-required-property-added

    • added the required property model to the response with the 200 status

      response-required-property-added

    • added the required property object to the response with the 200 status

      response-required-property-added

    • added the new optional request property tool_choice

      new-optional-request-property

    • added the new optional request property tools

      new-optional-request-property

  • 70f7bad608d617See the full diff
    • removed the enum value tool of the request property messages/items/role

      request-property-enum-value-removed

    • the request property frequency_penalty became optional

      request-property-became-optional

    • the request property max_completion_tokens became optional

      request-property-became-optional

    • the request property presence_penalty became optional

      request-property-became-optional

    • the request property stream became optional

      request-property-became-optional

    • the request property temperature became optional

      request-property-became-optional

    • the request property top_p became optional

      request-property-became-optional

    • the response_format request property default value {"type":"text","json_schema":{}} was added

      request-property-default-value-added