Hacker News new | ask | show | jobs
by jasonriddle 301 days ago
When you say "same output" in

> Every subagent call should be like calling a pure function. Same input, same output. No shared memory. No conversation history. No state.

How are you setting temperature, top k, top p, etc?

1 comments

So far I've been hardcoding these into the API calls.
Sure, but to clarify, so you are probably setting temperature to close to 0 in order to try to get as consistent output as possible based on the input? Have you made any changes to top k and/or top p that you have found makes agents output more consistent/deterministic?
Yes, temp is close to 0 for most models. For top k and top p, I've been using the default values set in OpenRouter.