9d8a4988e8
Implement log rotation for tray app
2024-06-19 12:53:34 -07:00
e919f6811f
lint windows
2024-06-04 11:13:30 -07:00
e40145a39d
lint
2024-06-04 11:13:30 -07:00
4cc3be3035
Move envconfig and consolidate env vars ( #4608 )
2024-05-24 14:57:15 -07:00
4ec7445a6f
Revert "use post token"
...
This reverts commit 0fec3525ad .
2024-05-11 22:19:14 -07:00
0fec3525ad
use post token
2024-05-11 19:13:16 -07:00
f56aa20014
Centralize server config handling
...
This moves all the env var reading into one central module
and logs the loaded config once at startup which should
help in troubleshooting user server logs
2024-05-05 16:49:50 -07:00
95ead8ffba
Restart server on failure when running Windows app ( #3985 )
...
* app: restart server on failure
* fix linter
* address comments
* refactor log directory creation to be where logs are written
* check all log dir creation errors
2024-04-29 10:07:52 -04:00
7027f264fb
app: gracefully shut down ollama serve on windows ( #3641 )
...
* app: gracefully shut down `ollama serve` on windows
* fix linter errors
* bring back `HideWindow`
* remove creation flags
* restore `windows.CREATE_NEW_PROCESS_GROUP`
2024-04-14 18:33:25 -04:00
58d95cc9bd
Switch back to subprocessing for llama.cpp
...
This should resolve a number of memory leak and stability defects by allowing
us to isolate llama.cpp in a separate process and shutdown when idle, and
gracefully restart if it has problems. This also serves as a first step to be
able to run multiple copies to support multiple models concurrently.
2024-04-01 16:48:18 -07:00
1b272d5bcd
change github.com/jmorganca/ollama to github.com/ollama/ollama ( #3347 )
2024-03-26 13:04:17 -07:00
1cde63dd64
Log unexpected server errors checking for update
...
This should unmask some failure modes that likely
show up in app logs as unmarshal errors
2024-02-27 09:17:04 -08:00
897b213468
use http.DefaultClient ( #2530 )
...
default client already handles proxy
2024-02-20 18:34:47 -05:00
a497235a55
Fix view logs menu
2024-02-16 15:42:53 -08:00
df6dc4fd96
Fix duplicate menus on update and exit on signals
...
Also fixes a few fit-and-finish items for better developer experience
2024-02-16 15:33:16 -08:00
117369aa73
Exit if we detect another copy of Ollama running
2024-02-15 14:58:29 -08:00
5208cf09b1
clean up some logging
2024-02-15 14:56:55 -08:00
fd77dbec4d
do not print update request headers
2024-02-15 11:36:35 -08:00
e43648afe5
rerefactor
2024-02-15 05:56:45 +00:00
29e90cc13b
Implement new Go based Desktop app
...
This focuses on Windows first, but coudl be used for Mac
and possibly linux in the future.
2024-02-15 05:56:45 +00:00