Skip to content

Commit

Permalink
init prompt after other inits
Browse files Browse the repository at this point in the history
  • Loading branch information
amakropoulos committed Feb 1, 2024
1 parent cee2c29 commit cb45601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Runtime/LLMClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ public LLMClient()
public async void Awake()
{
// initialise the prompt and set the keep tokens based on its length
await InitPrompt();
InitStop();
InitGrammar();
await InitPrompt();
}

private async Task InitPrompt(bool clearChat = true)
Expand Down

0 comments on commit cb45601

Please sign in to comment.