From 6cccbdccd3139c9d548d3794e88d1f7065def7d4 Mon Sep 17 00:00:00 2001 From: adamdottv <2363879+adamdottv@users.noreply.github.com> Date: Thu, 29 May 2025 14:20:55 -0500 Subject: [PATCH] wip: refactoring tui --- pkg/client/gen/openapi.json | 2 +- pkg/client/generated-client.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/client/gen/openapi.json b/pkg/client/gen/openapi.json index 7cb8e8b9..c27d522d 100644 --- a/pkg/client/gen/openapi.json +++ b/pkg/client/gen/openapi.json @@ -837,7 +837,7 @@ "contextWindow": { "type": "number" }, - "maxTokens": { + "maxOutputTokens": { "type": "number" }, "attachment": { diff --git a/pkg/client/generated-client.go b/pkg/client/generated-client.go index 8f3298c1..dd81a1cf 100644 --- a/pkg/client/generated-client.go +++ b/pkg/client/generated-client.go @@ -187,9 +187,9 @@ type ProviderModel struct { Output float32 `json:"output"` OutputCached float32 `json:"outputCached"` } `json:"cost"` - MaxTokens *float32 `json:"maxTokens,omitempty"` - Name *string `json:"name,omitempty"` - Reasoning *bool `json:"reasoning,omitempty"` + MaxOutputTokens *float32 `json:"maxOutputTokens,omitempty"` + Name *string `json:"name,omitempty"` + Reasoning *bool `json:"reasoning,omitempty"` } // SessionInfo defines model for session.info.