Commit Graph

763 Commits

Author SHA1 Message Date
Aaron Miller
c274a03fe7 use C locale for DoubleValidator
Closes https://github.com/nomic-ai/gpt4all-chat/issues/126
2023-04-28 20:45:40 -04:00
Aaron Miller
3db5337ed5 put chat.exe in 'bin' folder of build tree
because this is also in llama.cpp's CMakeLists:
https://github.com/ggerganov/llama.cpp/blob/master/CMakeLists.txt#L11
this is where libllama.dll winds up, causing attempts to run the chat UI
from Qt Creator on Windows to fail due to not finding libllama.dll - I've been
working around this by copying libllama.dll *out* of bin/ but have been
bitten a few times by forgetting to keep doing that and the build getting
out of sync.
2023-04-28 20:45:02 -04:00
Adam Treat
16633b17b8 Convert new ico and icns logos. 2023-04-28 20:40:35 -04:00
Adam Treat
464ba49ce6 Add a requires field for the models.json for future proofing. 2023-04-28 20:30:52 -04:00
Adam Treat
2a5b34b193 Load models from filepath only. 2023-04-28 20:15:10 -04:00
Adam Treat
187e358789 Update ignore. 2023-04-28 14:11:56 -04:00
Adam Treat
5aecb3c0e2 Fix bug with startup order and new logos. 2023-04-28 14:11:18 -04:00
Adam Treat
70ab18f644 Update to latest llama.cpp 2023-04-28 11:03:16 -04:00
Adam Treat
812431f78d New startup dialog features. 2023-04-28 11:03:16 -04:00
Adam Treat
ac2aba313a Fix settings dialog to use onClosed handler. 2023-04-28 11:03:16 -04:00
Aaron Miller
d224d2a2f7 make download path in settings match dl dialog 2023-04-27 17:41:38 -04:00
Adam Treat
83f08b6c29 Small fix. 2023-04-27 16:45:24 -04:00
Adam Treat
a6679b18bd Have to be able to change the download path from the download dialog and other fixes. 2023-04-27 16:27:53 -04:00
Adam Treat
6f94c7e84b Provide a description and make the downloader cleaner and prettier. 2023-04-27 14:52:40 -04:00
Adam Treat
c6c5e0bb4f Always try and load default model first. Groovy is the default default. 2023-04-27 13:52:29 -04:00
Adam Treat
83fb05345e Make the input area wrap automatically. 2023-04-27 11:54:53 -04:00
Adam Treat
80bcbcd137 Silence warning. 2023-04-27 11:44:41 -04:00
Adam Treat
a3253c4ab1 Move the saving of the tokens to the impl and not the callbacks responsibility. 2023-04-27 11:16:51 -04:00
Adam Treat
9a65f73392 Move the promptCallback to own function. 2023-04-27 11:08:15 -04:00
Adam Treat
ebf660d2bd Provide an initial impl. of the C interface. NOTE: has not been tested. 2023-04-27 09:43:24 -04:00
Adam Treat
5c3c1317f8 Track check for updates. 2023-04-27 07:41:23 -04:00
Adam Treat
368cd8e119 Add this and unbreak the build. 2023-04-26 22:45:10 -04:00
Aaron Miller
d1c69e8234 download: don't read whole file into ram to md5 it
we go to the trouble of using a tempfile and then reintroduce
a case of reading the whole file into ram again?
2023-04-26 22:14:21 -04:00
Aaron Miller
1f371be395 download: atomically move tempfile when possible
should save unnecessary time and I/O and eliminate the possibility
of the file being improperly truncated when the temp file is on
the same filesystem as the destination path
2023-04-26 22:14:21 -04:00
Adam Treat
eafb98b3a9 Initial support for opt-in telemetry. 2023-04-26 22:05:56 -04:00
Adam Treat
70e6b45123 Don't crash when prompt is too large. 2023-04-26 19:08:37 -04:00
Adam Treat
562906da11 Unnecessary after all. 2023-04-26 18:35:53 -04:00
Adam Treat
c409dbfa7a Put this before. 2023-04-26 13:54:25 -04:00
Adam Treat
65f15acc41 Signing ident. 2023-04-26 13:33:33 -04:00
Adam Treat
b04ab8fb5c Update llama.cpp submodule to latest. 2023-04-26 11:50:05 -04:00
Adam Treat
76a32c2fcd Add back option. 2023-04-26 11:02:05 -04:00
Adam Treat
5d2942d808 Add optional. 2023-04-26 09:48:49 -04:00
Adam Treat
e6c48d1b85 Allow sha1 2023-04-26 09:44:26 -04:00
Adam Treat
220fe0cfd4 If there is an error, stop the signing process. 2023-04-26 09:22:02 -04:00
Adam Treat
b78186e20c Fix the help text. 2023-04-26 09:13:07 -04:00
Adam Treat
4142c6b1bc Add first attempt at macOS dmg signing script. 2023-04-26 09:04:45 -04:00
Adam Treat
ebc51b3e8d Clean up the docs a bit more still. 2023-04-26 08:22:38 -04:00
Adam Treat
ae7ca04408 Clean up the docs a bit more. 2023-04-26 08:22:38 -04:00
Adam Treat
4e5c4927fc Clean up the docs a bit. 2023-04-26 08:22:38 -04:00
Adam Treat
04190e6107 Only need one opaque pointer. 2023-04-26 08:22:38 -04:00
Adam Treat
d86b441c5d Fixup the api a bit. 2023-04-26 08:22:38 -04:00
Adam Treat
4b47478626 Move the backend code into own subdirectory and make it a shared library. Begin fleshing out the C api wrapper that bindings can use. 2023-04-26 08:22:38 -04:00
Adam Treat
52c4215b11 Actually fix. 2023-04-25 22:49:23 -04:00
Adam Treat
7f56275f4f Remember to stringify the new response too. 2023-04-25 22:47:01 -04:00
Adam Treat
e3ae98f975 Fix problem with datalake ingest when the response contains json forbidden chars that are not properly escaped. 2023-04-25 22:17:44 -04:00
Adam Treat
317a37a240 Eliminate binding loop. 2023-04-25 21:42:11 -04:00
Adam Treat
a62e5edab1 Don't display button when no context. 2023-04-25 21:20:56 -04:00
Adam Treat
9a42c5f321 Spelling. 2023-04-25 16:33:01 -04:00
Adam Treat
34b7075517 Omit the debug stmt 2023-04-25 16:31:26 -04:00
Aaron Miller
cea7b039f1 settings: remove color hardcode & tab radius, darken border 2023-04-25 16:24:55 -04:00