Changes to Creates a model response for the given chat conversation.

POST /chat/completions?agent=true

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

Changed in 4 of the 8 revisions of this API.5921

  1. cb3bf9b214594210
  2. f8e8c290636c27
  3. 5fc9af728e82153
  4. f8e8c290636c1

What changed

  • cb3bf9b214594210See the full diff
    • the allOf[subschema #2]/messages/items/oneOf[subschema #1: System message]/content/oneOf[subschema #2: Array of content parts]/items/ request property type/format changed from string/ to /

      request-property-type-changed

    • the allOf[subschema #2]/messages/items/oneOf[subschema #2: Developer message]/content/oneOf[subschema #2: Array of content parts]/items/ request property type/format changed from string/ to /

      request-property-type-changed

    • the allOf[subschema #2]/messages/items/oneOf[subschema #3: User message]/content/oneOf[subschema #2: Array of content parts]/items/ request property type/format changed from string/ to /

      request-property-type-changed

    • the allOf[subschema #2]/messages/items/oneOf[subschema #4: Assistant message]/content/oneOf[subschema #2: Array of content parts]/items/ request property type/format changed from string/ to /

      request-property-type-changed

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

      response-property-enum-value-added

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

      response-property-enum-value-added

    • the endpoint scheme security AgentAccessKey was added to the API

      api-security-added

    • the endpoint scheme security ApiKeyAuth was removed from the API

      api-security-removed

    • api tag inference-proxy-api-new_Chat added

      api-tag-added

    • api tag Chat removed

      api-tag-removed

    • added subschema #1 subschema #2 to the allOf[subschema #2]/messages/items/oneOf[subschema #1: System message]/content/oneOf[subschema #2: Array of content parts]/items/ request property oneOf list

      request-property-one-of-added

    • added subschema #1 subschema #2 to the allOf[subschema #2]/messages/items/oneOf[subschema #2: Developer message]/content/oneOf[subschema #2: Array of content parts]/items/ request property oneOf list

      request-property-one-of-added

    • added subschema #1 subschema #2 to the allOf[subschema #2]/messages/items/oneOf[subschema #3: User message]/content/oneOf[subschema #2: Array of content parts]/items/ request property oneOf list

      request-property-one-of-added

    • added subschema #1 subschema #2 to the allOf[subschema #2]/messages/items/oneOf[subschema #4: Assistant message]/content/oneOf[subschema #2: Array of content parts]/items/ request property oneOf list

      request-property-one-of-added

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

      response-optional-property-added

    • added the required property choices/items/message/reasoning_content to the response with the 200 status (media type: application/json)

      response-required-property-added

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

  • f8e8c290636c27See the full diff
    • added the new tool_calls enum value to the choices/items/finish_reason response property for the response status 200 (media type: application/json)

      response-property-enum-value-added

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

      response-property-enum-value-added

    • added the new optional request property allOf[subschema #2]/messages/items/oneOf[subschema #4: Assistant message]/tool_calls

      new-optional-request-property

    • added the new optional request property allOf[subschema #2]/tool_choice

      new-optional-request-property

    • added the new optional request property allOf[subschema #2]/tools

      new-optional-request-property

    • added tool discriminator mapping keys to the allOf[subschema #2]/messages/items/ request property

      request-property-discriminator-mapping-added

    • added ChatCompletionRequestToolMessage to the allOf[subschema #2]/messages/items/ request property oneOf list

      request-property-one-of-added

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

      response-optional-property-added

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

      response-optional-property-added

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

  • 5fc9af728e82153See the full diff
    • removed ChatCompletionRequestToolMessage from the allOf[subschema #2]/messages/items/ request property oneOf list

      request-property-one-of-removed

    • removed the request property allOf[subschema #2]/messages/items/oneOf[subschema #4: Assistant message]/tool_calls

      request-property-removed

    • removed the request property allOf[subschema #2]/tool_choice

      request-property-removed

    • removed the request property allOf[subschema #2]/tools

      request-property-removed

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

      response-optional-property-removed

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

      response-optional-property-removed

    • removed tool discriminator mapping keys from the allOf[subschema #2]/messages/items/ request property

      request-property-discriminator-mapping-deleted

    • removed the tool_calls enum value from the choices/items/finish_reason response property for the response status 200 (media type: application/json)

      response-property-enum-value-removed

    • removed the tool_calls enum value from the choices/items/finish_reason response property for the response status 200 (media type: text/event-stream)

      response-property-enum-value-removed

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

    • endpoint added

      endpoint-added

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