diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-02 17:55:52 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-02 17:55:52 +0300 |
| commit | 62913b518d0fb99913e93314d9d4407730b7f32e (patch) | |
| tree | ec89b6c394435afc805aa9b463bae4bfa5c482be | |
| parent | e5cd3949c477308709f0052bbd0fae68a970bfa7 (diff) | |
Update
| -rw-r--r-- | fish/conf.d/supersync.fish | 28 | ||||
| -rw-r--r-- | hexai/config.toml | 16 |
2 files changed, 41 insertions, 3 deletions
diff --git a/fish/conf.d/supersync.fish b/fish/conf.d/supersync.fish index 0fdaef6..5a8db76 100644 --- a/fish/conf.d/supersync.fish +++ b/fish/conf.d/supersync.fish @@ -76,6 +76,33 @@ function supersync::prompts end end +function supersync::darwin_uprecords + if test (uname) != Darwin + return + end + + set -l worktime_dir ~/git/worktime + if not test -d $worktime_dir + return + end + + set -l uprecords_file + for candidate in /opt/homebrew/var/uptimed/records /usr/local/var/uptimed/records + if test -f $candidate + set uprecords_file $candidate + break + end + end + + if test -z "$uprecords_file" + return + end + + set -l target $worktime_dir/uprecords-(hostname).records + cp $uprecords_file $target + git -C $worktime_dir add $target +end + function supersync if test -f ~/.supersync_disable echo Supersync is disabled @@ -84,6 +111,7 @@ function supersync supersync::worktime sync_quotes taskwarrior::invoke + supersync::darwin_uprecords supersync::worktime no_sync_quotes supersync::prompts diff --git a/hexai/config.toml b/hexai/config.toml index 1a6dff1..5954eae 100644 --- a/hexai/config.toml +++ b/hexai/config.toml @@ -17,12 +17,22 @@ name = "ollama" [ollama] model = "gemma4:31b-cloud" +# Smaller Gemma variants on Ollama Cloud — uncomment one if gemma4:31b-cloud +# becomes too slow: +# model = "gemma3:27b" +# model = "gemma3:12b" +# model = "gemma3:4b" base_url = "https://ollama.com" temperature = 0.2 -# In-code auto-completion uses gemma4:31b-cloud (the dense Gemma 4 hosted on -# Ollama Cloud). Latency-sensitive completions use the same model as chat. +# In-code auto-completion uses gemma3:12b on Ollama Cloud — a good balance of +# speed and quality. Switch to a larger or smaller Gemma below if needed. [[models.completion]] provider = "ollama" -model = "gemma4:31b-cloud" +model = "gemma3:12b" +# Other Gemma variants on Ollama Cloud — uncomment one if gemma3:12b is not +# the right fit: +# model = "gemma4:31b-cloud" +# model = "gemma3:27b" +# model = "gemma3:4b" temperature = 0.2 |
