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 @@ -5,7 +5,7 @@ namespace OpenRouter
{
/// <summary>
/// An openrouter:fusion server tool output item<br/>
/// Example: {"arguments":"{\u0022prompt\u0022:\u0022Compare the leading approaches\u0022}","call_id":"call_fusion_abc123","id":"st_tmp_abc123","status":"completed","type":"openrouter:fusion"}
/// Example: {"id":"st_tmp_abc123","status":"completed","type":"openrouter:fusion"}
/// </summary>
public sealed partial class OutputFusionServerToolItem
{
Expand All @@ -17,22 +17,6 @@ public sealed partial class OutputFusionServerToolItem
[global::System.Text.Json.Serialization.JsonPropertyName("analysis")]
public global::OpenRouter.FusionAnalysisResult? Analysis { get; set; }

/// <summary>
/// The raw tool-call arguments string as emitted by the model.<br/>
/// Example: {"prompt":"Compare the leading approaches"}
/// </summary>
/// <example>{"prompt":"Compare the leading approaches"}</example>
[global::System.Text.Json.Serialization.JsonPropertyName("arguments")]
public string? Arguments { get; set; }

/// <summary>
/// The model-generated tool call id from the originating turn.<br/>
/// Example: call_fusion_abc123
/// </summary>
/// <example>call_fusion_abc123</example>
[global::System.Text.Json.Serialization.JsonPropertyName("call_id")]
public string? CallId { get; set; }

/// <summary>
/// Error message when the fusion run did not produce an analysis result.
/// </summary>
Expand Down Expand Up @@ -101,14 +85,6 @@ public sealed partial class OutputFusionServerToolItem
/// Structured analysis produced by the fusion analyst model.<br/>
/// Example: {"blind_spots":["No model considered the impact on existing API consumers."],"consensus":["All panel models agree the request is asking for a concise summary."],"contradictions":[{"stances":[{"model":"openai/gpt-5","stance":"Favors an incremental rollout."},{"model":"anthropic/claude-sonnet-4.5","stance":"Favors a single coordinated migration."}],"topic":"Recommended approach"}],"partial_coverage":[{"models":["openai/gpt-5"],"point":"Only one model addressed the rollback strategy."}],"unique_insights":[{"insight":"Highlighted a backwards-compatibility risk the other models missed.","model":"anthropic/claude-sonnet-4.5"}]}
/// </param>
/// <param name="arguments">
/// The raw tool-call arguments string as emitted by the model.<br/>
/// Example: {"prompt":"Compare the leading approaches"}
/// </param>
/// <param name="callId">
/// The model-generated tool call id from the originating turn.<br/>
/// Example: call_fusion_abc123
/// </param>
/// <param name="error">
/// Error message when the fusion run did not produce an analysis result.
/// </param>
Expand All @@ -132,8 +108,6 @@ public sealed partial class OutputFusionServerToolItem
public OutputFusionServerToolItem(
global::OpenRouter.ToolCallStatus status,
global::OpenRouter.FusionAnalysisResult? analysis,
string? arguments,
string? callId,
string? error,
global::System.Collections.Generic.IList<global::OpenRouter.OutputFusionServerToolItemFailedModel>? failedModels,
string? failureReason,
Expand All @@ -143,8 +117,6 @@ public OutputFusionServerToolItem(
global::OpenRouter.OutputFusionServerToolItemType type)
{
this.Analysis = analysis;
this.Arguments = arguments;
this.CallId = callId;
this.Error = error;
this.FailedModels = failedModels;
this.FailureReason = failureReason;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1000,7 +1000,7 @@ public bool TryPickOpenrouterExperimentalSearchModels(

/// <summary>
/// An openrouter:fusion server tool output item<br/>
/// Example: {"arguments":"{\u0022prompt\u0022:\u0022Compare the leading approaches\u0022}","call_id":"call_fusion_abc123","id":"st_tmp_abc123","status":"completed","type":"openrouter:fusion"}
/// Example: {"id":"st_tmp_abc123","status":"completed","type":"openrouter:fusion"}
/// </summary>
#if NET6_0_OR_GREATER
public global::OpenRouter.OutputFusionServerToolItem? OpenrouterFusion { get; init; }
Expand Down
18 changes: 0 additions & 18 deletions src/libs/OpenRouter/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33571,8 +33571,6 @@
"OutputFusionServerToolItem": {
"description": "An openrouter:fusion server tool output item",
"example": {
"arguments": "{\"prompt\":\"Compare the leading approaches\"}",
"call_id": "call_fusion_abc123",
"id": "st_tmp_abc123",
"status": "completed",
"type": "openrouter:fusion"
Expand All @@ -33581,22 +33579,6 @@
"analysis": {
"$ref": "#/components/schemas/FusionAnalysisResult"
},
"arguments": {
"description": "The raw tool-call arguments string as emitted by the model.",
"example": "{\"prompt\":\"Compare the leading approaches\"}",
"type": [
"string",
"null"
]
},
"call_id": {
"description": "The model-generated tool call id from the originating turn.",
"example": "call_fusion_abc123",
"type": [
"string",
"null"
]
},
"error": {
"description": "Error message when the fusion run did not produce an analysis result.",
"type": "string"
Expand Down
Loading