Commit Graph

10 Commits

Author SHA1 Message Date
Tobias Lütke
ff6e39f138
use javascript generators as much cleaner API
Also add ways to access completion as promise and EventSource
2023-07-05 15:03:01 -04:00
Tobias Lütke
efa86bf2a6
export llama_timings as struct and expose them in server 2023-07-04 21:52:04 -04:00
Tobias Lütke
c19daa4eb5
basic response formatting 2023-07-04 09:14:51 -04:00
Tobias Lütke
eee6d69e39
fix mobile, fix missing prompt cache 2023-07-04 09:14:51 -04:00
Tobias Lütke
fedce007c0
rework state management into session, expose historyTemplate to settings 2023-07-04 09:14:51 -04:00
Tobias Lütke
98e612cefd
slightly nicer css 2023-07-04 09:14:51 -04:00
Tobias Lütke
dd1df3f31c
add /completion.js file to make it easy to use the server from js 2023-07-04 09:14:50 -04:00
Tobias Lütke
34fc3c7e9f
remove need for @microsoft/fetch-event-source dep (-7kb) 2023-07-04 09:14:50 -04:00
Tobias Lütke
0f95689c17
improvements 2023-07-04 09:14:50 -04:00
tobi lutke
022bf2bb48
embed index and add --path for choosing static dir 2023-07-04 09:14:05 -04:00