Repository navigation
What's new in 0.1.11
Fixes for agent clients
(Thank you to salamzayed for a clear report, issue #13)
parallel_tool_calls: falseis now honoured: a reply makes one tool call at most, as OpenAI and llama-server do,
and ends right after it. Anthropic'sdisable_parallel_tool_useworks the same way.- When a client disconnects while the server is still reading its prompt, the server now stops at the next block
instead of reading the whole prompt for nobody. What it read is kept, so the same prompt sent again carries on
from there. - Non-streamed replies now stop when their client disconnects too (before, they ran on to
max_tokens). - In the app, Stop now also works while a long prompt is being read, instead of only once the reply has started.
- New switch
TORC_CANCEL_ON_CLOSE=0turns this off, for scripts that close their side of the connection and then
wait for the reply.