Skip to content

Commit

Permalink
add CancelRequests to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
amakropoulos committed Feb 29, 2024
1 parent f1a3340 commit d9aa31f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ This is useful if the `Stream` option is selected for continuous output from the
}
```

To stop the chat without waiting its completion you can use:
``` c#
llm.CancelRequests();
```

- Finally, in the Inspector of the GameObject of your script, select the LLM GameObject created above as the llm property.

That's all :sparkles:!
Expand Down

0 comments on commit d9aa31f

Please sign in to comment.