Skip to content

Commit

Permalink
fix: use correct field name toolID
Browse files Browse the repository at this point in the history
Signed-off-by: Donnie Adams <[email protected]>
  • Loading branch information
thedadams committed Aug 21, 2024
1 parent cc95854 commit 0ec49d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gptscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ export class Run {
if (out.done === undefined || !out.done) {
this.chatState = JSON.stringify(out.state)
this.state = RunState.Continue
this.respondingToolId = out.toolId
this.respondingToolId = out.toolID
} else {
this.state = RunState.Finished
this.chatState = undefined
Expand Down Expand Up @@ -704,7 +704,7 @@ interface ChatState {
state: string
done: boolean
content: string
toolId: string
toolID: string
}

export type Arguments = string | Record<string, string>
Expand Down

0 comments on commit 0ec49d9

Please sign in to comment.