Matt Joyce
01519d7486
Add --input-has-vars flag to control variable substitution in input
...
- Add InputHasVars field to ChatRequest struct
- Only process template variables in user input when flag is set
- Fixes issue with Ansible/Jekyll templates that use {{var}} syntax
This change makes template variable substitution in user input opt-in
via the --input-has-vars flag, preserving literal curly braces by
default.
2024-12-10 18:49:18 +11:00
jaredmontoya
455215290f
add model context length setting
2024-10-30 15:36:01 +01:00
Eugen Eisler
dff094301a
feat: impl. multi-model / attachments, images
2024-10-29 21:31:02 +01:00
Eugen Eisler
69aefc16f6
feat: impl. multi-model / attachments, images
2024-10-29 20:38:15 +01:00
Eugen Eisler
4fb965ec9d
feat: Add 'meta' role to store meta info to session, like source of input content.
2024-10-05 17:33:27 +02:00
Riccardo Zanella
a619c915e1
adding flag for pinning seed in openai and compatible APIs
2024-09-20 17:59:35 +02:00
Eugen Eisler
2b79a058de
Merge branch 'main' into specify_language_return
2024-09-19 22:31:51 +02:00
Eugen Eisler
147da29c1a
feat: use -r, --raw: Use defaults of model (don't send temperature etc.) and use the user role instead of the system role.
2024-09-15 20:38:19 +02:00
Eugen Eisler
329c843567
feat: implement -u, --user-instead-of-system: Use the user role instead of the system role for the pattern. It is needed for Open AI o1 models for now.
2024-09-15 15:09:45 +02:00
csquarechen
b96415d445
feat: add cmd -g to select the language would reply
2024-09-13 16:41:54 +08:00
Eugen Eisler
d6552f5811
feat: add support for pattern variables
2024-09-03 15:13:03 +02:00
Eugen Eisler
4d77ed30e9
test: implement test for common package
2024-08-22 20:57:49 +02:00
Jonathan Dunn
7399d84446
initial
2024-08-16 15:43:27 -04:00