conversation now shown in gui when manually refreshed.

This commit is contained in:
Joshua
2024-07-08 14:23:01 -06:00
parent ff4a54fbbc
commit 7547fe110f
2 changed files with 39 additions and 30 deletions
@@ -235,8 +235,7 @@ class _PromptBoxWidgetState extends State<PromptBoxWidget> {
}
void updateFromLatestInput(String input) {
Server s = Server();
s.setPrompt(input);
print(s.getResponse());
Server().getResponseWhenReady(input);
// TODO: Refresh the page with the prompt & response.
}
}