]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
server : support for saving templates in browser LocalStorage (#2486)
authorstaviq <redacted>
Thu, 17 Aug 2023 23:34:01 +0000 (23:34 +0000)
committerGitHub <redacted>
Thu, 17 Aug 2023 23:34:01 +0000 (07:34 +0800)
commit10151bee2e38b5711335c4a38f6ca93b50223acf
tree340d9e76b45cba6a8cec93129558f24a050ee8ff
parent0992a7b8b18a89e29a205efb48ceb559c9a08203
server : support for saving templates in browser LocalStorage (#2486)

* support for templates in browser LocalStorage

* sync accepted #2409 fix from upstream

* convert autosave invocation to useEffect

* Apply suggestions from code review

Co-authored-by: Jhen-Jie Hong <redacted>
* Regen index.html.cpp, suggested from code review

---------

Co-authored-by: Jhen-Jie Hong <redacted>
examples/server/index.html.hpp
examples/server/public/index.html