Skip to content

Commit 7383658

Browse files
committed
update doc
1 parent 2c04c67 commit 7383658

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

doc/AUTOCOMPOSE.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,16 @@ Example starting llama.cpp server:
5151

5252
Configuring Custom Service / Model
5353
----------------------------------
54-
Edit `ui.conf` to match the desired compose path and usage, example:
54+
Edit `ui.conf` to match the desired compose path and usage.
55+
56+
Example usage with Google Gemini and custom model:
57+
58+
auto_compose_command=/usr/local/libexec/nchat/compose -s gemini -m gemini-2.0-flash -c '%1'
59+
60+
Example usage with OpenAI and custom model and longer timeout of 60 secs:
61+
62+
auto_compose_command=/usr/local/libexec/nchat/compose -s openai -m gpt-5-nano -T 60 -c '%1'
5563

56-
auto_compose_command=/usr/local/libexec/nchat/compose -s gemini -m gemini-2.0-flash
5764

5865
Generally one can determine the path of compose based on nchat install path:
5966

0 commit comments

Comments
 (0)