Browse Source

wip: refactoring tui

adamdottv 9 months ago
parent
commit
6cccbdccd3
2 changed files with 4 additions and 4 deletions
  1. 1 1
      pkg/client/gen/openapi.json
  2. 3 3
      pkg/client/generated-client.go

+ 1 - 1
pkg/client/gen/openapi.json

@@ -837,7 +837,7 @@
           "contextWindow": {
           "contextWindow": {
             "type": "number"
             "type": "number"
           },
           },
-          "maxTokens": {
+          "maxOutputTokens": {
             "type": "number"
             "type": "number"
           },
           },
           "attachment": {
           "attachment": {

+ 3 - 3
pkg/client/generated-client.go

@@ -187,9 +187,9 @@ type ProviderModel struct {
 		Output       float32 `json:"output"`
 		Output       float32 `json:"output"`
 		OutputCached float32 `json:"outputCached"`
 		OutputCached float32 `json:"outputCached"`
 	} `json:"cost"`
 	} `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.
 // SessionInfo defines model for session.info.