hackclub / sprig

🍃 Learn to code by making games in a JavaScript web-based game editor.

Home Page:https://sprig.hackclub.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Utilize sessions such that client doesn't need to upload megabytes per chat request

grymmy opened this issue · comments

Describe the bug
Right now the implementation of the LLM chat feature requires excessive uploads from the web browser client, making it not very useful on low bandwidth/high latency connections.

Expected behavior
Theoretically sessions could be used to ensure we don't need to reupload context multiple times across requests.

implemented since hackclub/llm-api#4