feat: OpenAI-compatible tool calling + sampling params
- Tool calling: tools array, tool_choice, tool call parsing, round-trip - Sampling: temperature, top_p, top_k, min_p, seed - Penalties: repeat_penalty, frequency_penalty, presence_penalty - Stop sequences support - Chat history with assistant tool_calls and tool responses - GenerateStream with SendSampler wrapper for thread-safe async
This commit is contained in:
1 parent
e1f5195407
commit
c77ceee83f
1 file changed
+824
-296
+824
-296
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user