From 0666f790c7828105e113c2d100e35c593af0756f Mon Sep 17 00:00:00 2001 From: jamesrochabrun Date: Sat, 1 Feb 2025 23:05:46 -0800 Subject: [PATCH] updates --- README.md | 1 - .../Public/ResponseModels/Chat/ChatCompletionObject.swift | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 87e2c43..d9cef47 100644 --- a/README.md +++ b/README.md @@ -3358,7 +3358,6 @@ Notes - Use .custom("deepseek-reasoner") to specify the DeepSeek model - The `reasoningContent` field is optional and specific to DeepSeek's API - Error handling follows the same pattern as standard OpenAI requests. -``` For more inofrmation about the `DeepSeek` api visit its [documentation](https://api-docs.deepseek.com). diff --git a/Sources/OpenAI/Public/ResponseModels/Chat/ChatCompletionObject.swift b/Sources/OpenAI/Public/ResponseModels/Chat/ChatCompletionObject.swift index 2871146..336fd79 100644 --- a/Sources/OpenAI/Public/ResponseModels/Chat/ChatCompletionObject.swift +++ b/Sources/OpenAI/Public/ResponseModels/Chat/ChatCompletionObject.swift @@ -88,7 +88,7 @@ public struct ChatCompletionObject: Decodable { case functionCall = "function_call" case role case finishDetails = "finish_details" - case reasoningContent = "reasoning_content" + case reasoningContent = "reasoning_content" case refusal case audio }