feat: add temperature, top_p, top_k, min_p params to insight generation

Expose Ollama sampling params through the insight generation endpoints
so users can tune creativity/determinism per request. All four are
optional — omitted values fall through to the model's server-side
defaults.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Cameron
2026-04-15 09:27:59 -04:00
parent c703a47f17
commit b599f7a34b
4 changed files with 131 additions and 2 deletions

View File

@@ -202,6 +202,10 @@ async fn main() -> anyhow::Result<()> {
args.model.clone(),
None,
args.num_ctx,
None,
None,
None,
None,
args.max_iterations,
)
.await