tabbyAPI-ollama/common
kingbri dc456f4cc2 Templates: Add stop_strings meta param
Adding the stop_strings var to chat templates will allow for the
template creator to specify stopping strings to add onto chat completions.

Thes get appended with existing stopping strings that are passed
in the API request. However, a sampler override with force: true will
override all stopping strings.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-03-27 22:22:07 -04:00
..
args.py Tree: Format 2024-03-13 00:02:55 -04:00
auth.py API: Cleanup permission endpoint 2024-03-18 15:13:26 -04:00
concurrency.py API: Fix blocking iterator execution 2024-03-16 23:23:31 -04:00
config.py Tree: Update to cleanup globals 2024-03-12 23:59:30 -04:00
gen_logging.py Tree: Format 2024-03-13 23:33:18 -04:00
logger.py Logging: Escape rich markup sequences 2024-03-11 00:28:48 -04:00
model.py Common: Migrate request utils to networking 2024-03-21 23:21:57 -04:00
networking.py Common: Migrate request utils to networking 2024-03-21 23:21:57 -04:00
sampling.py Model: Auto-scale max_tokens by default 2024-03-18 22:54:59 -04:00
signals.py Signal: Fix signal handlers for uvicorn 2024-03-16 23:23:31 -04:00
templating.py Templates: Add stop_strings meta param 2024-03-27 22:22:07 -04:00
utils.py Common: Migrate request utils to networking 2024-03-21 23:21:57 -04:00