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:
Asep Haryana
2026-07-25 11:42:57 +07:00
parent e1f5195407
commit c77ceee83f
+824 -296
View File
File diff suppressed because it is too large Load Diff