Skip to content

Commit

Permalink
add done_reason to chat and generate responses
Browse files Browse the repository at this point in the history
  • Loading branch information
BruceMacD committed May 9, 2024
1 parent a0b47fe commit 2537e92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ export interface GenerateResponse {
created_at: Date
response: string
done: boolean
done_reason: string
context: number[]
total_duration: number
load_duration: number
Expand All @@ -138,6 +139,7 @@ export interface ChatResponse {
created_at: Date
message: Message
done: boolean
done_reason: string
total_duration: number
load_duration: number
prompt_eval_count: number
Expand Down

0 comments on commit 2537e92

Please sign in to comment.