Changes to Openai Chat Completions

POST /v1/chat/completions

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

Changed in 6 of the 17 revisions of this API.317

  1. 900aef7c556d11
  2. 63ee8b82144f1
  3. 2df28210837a13
  4. 2418bb7a26911
  5. ba92d784991412
  6. 09df98e6ea159

What changed

  • 900aef7c556d11See the full diff
    • removed ChatCompletionToolMessage ChatCompletionAssistantMessage ChatCompletionUserMessage ChatCompletionSystemMessage from the messages/items/ request property anyOf list

      request-property-any-of-removed

    • added ChatCompletionToolMessage ChatCompletionAssistantMessage ChatCompletionUserMessage ChatCompletionSystemMessage to the messages/items/ request property oneOf list

      request-property-one-of-added

    • added the new optional request property models

      new-optional-request-property

    • request property tool_choice/anyOf[subschema #1]/ was restricted to a list of enum values

      request-property-became-enum

    • added the new auto enum value to the request property tool_choice/anyOf[subschema #1]/

      request-property-enum-value-added

    • added the new none enum value to the request property tool_choice/anyOf[subschema #1]/

      request-property-enum-value-added

    • added the new required enum value to the request property tool_choice/anyOf[subschema #1]/

      request-property-enum-value-added

    • added the new optional request property ignore_eos

      new-optional-request-property

  • ba92d784991412See the full diff
    • removed ChatTools from the tool_choice request property anyOf list

      request-property-any-of-removed

    • added the new optional request property fail_fast

      new-optional-request-property

    • added FunctionTool to the tool_choice request property anyOf list

      request-property-any-of-added

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

    • added the new optional request property messages/items/anyOf[subschema #1: ChatCompletionToolMessage]/content/anyOf[subschema #2]/items/prompt_cache_breakpoint

      new-optional-request-property

    • added the new optional request property messages/items/anyOf[subschema #2: ChatCompletionAssistantMessage]/content/anyOf[subschema #2]/items/prompt_cache_breakpoint

      new-optional-request-property

    • added the new optional request property messages/items/anyOf[subschema #3: ChatCompletionUserMessage]/content/anyOf[subschema #2]/items/anyOf[subschema #1: ChatCompletionContentPartText]/prompt_cache_breakpoint

      new-optional-request-property

    • added the new optional request property messages/items/anyOf[subschema #4: ChatCompletionSystemMessage]/content/anyOf[subschema #2]/items/prompt_cache_breakpoint

      new-optional-request-property

    • added the new optional request property prompt_cache_options

      new-optional-request-property

    • added the new max enum value to the request property reasoning/anyOf[subschema #1: ChatReasoningSettings]/effort/anyOf[subschema #1]/

      request-property-enum-value-added

    • added the new max enum value to the request property reasoning_effort/anyOf[subschema #1]/

      request-property-enum-value-added

    • added the new minimal enum value to the request property reasoning/anyOf[subschema #1: ChatReasoningSettings]/effort/anyOf[subschema #1]/

      request-property-enum-value-added

    • added the new minimal enum value to the request property reasoning_effort/anyOf[subschema #1]/

      request-property-enum-value-added