Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ partial void ProcessCreateRunResponseContent(
/// <param name="truncationStrategy"></param>
/// <param name="toolChoice"></param>
/// <param name="parallelToolCalls">
/// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.
/// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.<br/>
/// Default Value: true
/// </param>
/// <param name="responseFormat">
/// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ partial void ProcessCreateThreadAndRunResponseContent(
/// <param name="truncationStrategy"></param>
/// <param name="toolChoice"></param>
/// <param name="parallelToolCalls">
/// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.
/// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.<br/>
/// Default Value: true
/// </param>
/// <param name="responseFormat">
/// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ public partial interface IAssistantsClient
/// <param name="truncationStrategy"></param>
/// <param name="toolChoice"></param>
/// <param name="parallelToolCalls">
/// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.
/// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.<br/>
/// Default Value: true
/// </param>
/// <param name="responseFormat">
/// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ public partial interface IAssistantsClient
/// <param name="truncationStrategy"></param>
/// <param name="toolChoice"></param>
/// <param name="parallelToolCalls">
/// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.
/// Whether to enable [parallel function calling](/docs/guides/function-calling#configuring-parallel-function-calling) during tool use.<br/>
/// Default Value: true
/// </param>
/// <param name="responseFormat">
/// Specifies the format that the model must output. Compatible with [GPT-4o](/docs/models#gpt-4o), [GPT-4 Turbo](/docs/models#gpt-4-turbo-and-gpt-4), and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ public class AllOfJsonConverter<T1, T2> : global::System.Text.Json.Serialization
{
}

var result = new global::tryAGI.OpenAI.AllOf<T1, T2>(
var __value = new global::tryAGI.OpenAI.AllOf<T1, T2>(
value1,

value2
);

Expand All @@ -57,7 +58,7 @@ public class AllOfJsonConverter<T1, T2> : global::System.Text.Json.Serialization
_ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}

return result;
return __value;
}

/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,13 @@ public class AnnotationJsonConverter : global::System.Text.Json.Serialization.Js
{
}

var result = new global::tryAGI.OpenAI.Annotation(
var __value = new global::tryAGI.OpenAI.Annotation(
fileCitation,

urlCitation,

containerFileCitation,

filePath
);

Expand Down Expand Up @@ -96,7 +99,7 @@ public class AnnotationJsonConverter : global::System.Text.Json.Serialization.Js
_ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}

return result;
return __value;
}

/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ public class AnnotationsItem3JsonConverter : global::System.Text.Json.Serializat
{
}

var result = new global::tryAGI.OpenAI.AnnotationsItem3(
var __value = new global::tryAGI.OpenAI.AnnotationsItem3(
file,

url
);

Expand All @@ -58,7 +59,7 @@ public class AnnotationsItem3JsonConverter : global::System.Text.Json.Serializat
_ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}

return result;
return __value;
}

/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ public class AnyOfJsonConverter<T1, T2> : global::System.Text.Json.Serialization
{
}

var result = new global::tryAGI.OpenAI.AnyOf<T1, T2>(
var __value = new global::tryAGI.OpenAI.AnyOf<T1, T2>(
value1,

value2
);

Expand All @@ -57,7 +58,7 @@ public class AnyOfJsonConverter<T1, T2> : global::System.Text.Json.Serialization
_ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}

return result;
return __value;
}

/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,11 @@ public class AnyOfJsonConverter<T1, T2, T3> : global::System.Text.Json.Serializa
{
}

var result = new global::tryAGI.OpenAI.AnyOf<T1, T2, T3>(
var __value = new global::tryAGI.OpenAI.AnyOf<T1, T2, T3>(
value1,

value2,

value3
);

Expand All @@ -76,7 +78,7 @@ public class AnyOfJsonConverter<T1, T2, T3> : global::System.Text.Json.Serializa
_ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}

return result;
return __value;
}

/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ public class ApplyPatchOperationParamJsonConverter : global::System.Text.Json.Se
{
}

var result = new global::tryAGI.OpenAI.ApplyPatchOperationParam(
var __value = new global::tryAGI.OpenAI.ApplyPatchOperationParam(
createFile,

deleteFile,

updateFile
);

Expand All @@ -77,7 +79,7 @@ public class ApplyPatchOperationParamJsonConverter : global::System.Text.Json.Se
_ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}

return result;
return __value;
}

/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,17 @@ public class AssistantStreamEventJsonConverter : global::System.Text.Json.Serial
{
}

var result = new global::tryAGI.OpenAI.AssistantStreamEvent(
var __value = new global::tryAGI.OpenAI.AssistantStreamEvent(
thread,

run,

runStep,

message,

error,

done
);

Expand Down Expand Up @@ -134,7 +139,7 @@ public class AssistantStreamEventJsonConverter : global::System.Text.Json.Serial
_ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}

return result;
return __value;
}

/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,13 @@ public class AssistantsApiResponseFormatOptionJsonConverter : global::System.Tex
{
}

var result = new global::tryAGI.OpenAI.AssistantsApiResponseFormatOption(
var __value = new global::tryAGI.OpenAI.AssistantsApiResponseFormatOption(
value1,

text,

jsonObject,

jsonSchema
);

Expand Down Expand Up @@ -96,7 +99,7 @@ public class AssistantsApiResponseFormatOptionJsonConverter : global::System.Tex
_ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}

return result;
return __value;
}

/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ public class AssistantsApiToolChoiceOptionJsonConverter : global::System.Text.Js
{
}

var result = new global::tryAGI.OpenAI.AssistantsApiToolChoiceOption(
var __value = new global::tryAGI.OpenAI.AssistantsApiToolChoiceOption(
value1,

value2
);

Expand All @@ -58,7 +59,7 @@ public class AssistantsApiToolChoiceOptionJsonConverter : global::System.Text.Js
_ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}

return result;
return __value;
}

/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ public class ChatCompletionMessageToolCallsItemJsonConverter : global::System.Te
{
}

var result = new global::tryAGI.OpenAI.ChatCompletionMessageToolCallsItem(
var __value = new global::tryAGI.OpenAI.ChatCompletionMessageToolCallsItem(
function,

custom
);

Expand All @@ -58,7 +59,7 @@ public class ChatCompletionMessageToolCallsItemJsonConverter : global::System.Te
_ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}

return result;
return __value;
}

/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ public class ChatCompletionRequestAssistantMessageContentPartJsonConverter : glo
{
}

var result = new global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPart(
var __value = new global::tryAGI.OpenAI.ChatCompletionRequestAssistantMessageContentPart(
text,

refusal
);

Expand All @@ -58,7 +59,7 @@ public class ChatCompletionRequestAssistantMessageContentPartJsonConverter : glo
_ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}

return result;
return __value;
}

/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,17 @@ public class ChatCompletionRequestMessageJsonConverter : global::System.Text.Jso
{
}

var result = new global::tryAGI.OpenAI.ChatCompletionRequestMessage(
var __value = new global::tryAGI.OpenAI.ChatCompletionRequestMessage(
developer,

system,

user,

assistant,

tool,

function
);

Expand Down Expand Up @@ -134,7 +139,7 @@ public class ChatCompletionRequestMessageJsonConverter : global::System.Text.Jso
_ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}

return result;
return __value;
}

/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class ChatCompletionRequestSystemMessageContentPartJsonConverter : global
{
}

var result = new global::tryAGI.OpenAI.ChatCompletionRequestSystemMessageContentPart(
var __value = new global::tryAGI.OpenAI.ChatCompletionRequestSystemMessageContentPart(
textContentPart
);

Expand All @@ -39,7 +39,7 @@ public class ChatCompletionRequestSystemMessageContentPartJsonConverter : global
_ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}

return result;
return __value;
}

/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class ChatCompletionRequestToolMessageContentPartJsonConverter : global::
{
}

var result = new global::tryAGI.OpenAI.ChatCompletionRequestToolMessageContentPart(
var __value = new global::tryAGI.OpenAI.ChatCompletionRequestToolMessageContentPart(
textContentPart
);

Expand All @@ -39,7 +39,7 @@ public class ChatCompletionRequestToolMessageContentPartJsonConverter : global::
_ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}

return result;
return __value;
}

/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,13 @@ public class ChatCompletionRequestUserMessageContentPartJsonConverter : global::
{
}

var result = new global::tryAGI.OpenAI.ChatCompletionRequestUserMessageContentPart(
var __value = new global::tryAGI.OpenAI.ChatCompletionRequestUserMessageContentPart(
textContentPart,

imageContentPart,

audioContentPart,

fileContentPart
);

Expand Down Expand Up @@ -96,7 +99,7 @@ public class ChatCompletionRequestUserMessageContentPartJsonConverter : global::
_ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}

return result;
return __value;
}

/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,13 @@ public class ChatCompletionToolChoiceOptionJsonConverter : global::System.Text.J
{
}

var result = new global::tryAGI.OpenAI.ChatCompletionToolChoiceOption(
var __value = new global::tryAGI.OpenAI.ChatCompletionToolChoiceOption(
toolChoiceMode,

allowedTools,

functionToolChoice,

customToolChoice
);

Expand Down Expand Up @@ -96,7 +99,7 @@ public class ChatCompletionToolChoiceOptionJsonConverter : global::System.Text.J
_ = global::System.Text.Json.JsonSerializer.Deserialize(ref reader, typeInfo);
}

return result;
return __value;
}

/// <inheritdoc />
Expand Down
Loading
Loading