Răsfoiți Sursa

Update docs to represent changed data

Lee Morgan 1 lună în urmă
părinte
comite
9e4460c194

+ 4 - 4
docs/components/schemas/turn.yaml

@@ -10,6 +10,10 @@ properties:
     format: uuid
     description: ID of the session that this turn belongs to
     example: 019eb75c-41cd-7456-95fe-382787dc4f12
+  tokens_used:
+    type: number
+    description: Number of tokens used for this turn
+    example: 1876
   user_text:
     type: string
     description: User provided input for the actions to take for their turn
@@ -18,10 +22,6 @@ properties:
     type: string
     description: LLM generated text to respond to user and move the game forward
     example: Lorem Ipsum, etc...
-  sequence_number:
-    type: number
-    description: Number for ordering the turns in a session. Refers to session, not game.
-    example: 5
   created_at:
     type: date
     description: Time when the turn was taken

+ 4 - 0
docs/paths/game/session/create.yaml

@@ -26,6 +26,10 @@ responses:
               $ref: "#/components/schemas/Session"
             turn:
               $ref: "#/components/schemas/Turn"
+            tokens_remaining:
+              type: number
+              description: Tokens that the user has remaining
+              example: 998060
   "400":
     $ref: "#/components/responses/400"
   "401":

Fișier diff suprimat deoarece este prea mare
+ 0 - 0
docs/redoc-static.html


Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff