Files
probo/pkg/probod
Émile Ré fb60ee1776 Copy default LLM pointers when resolving agents
ResolveAgent aliased the default config's Temperature and MaxTokens
pointers into every agent that left them unset, so all resolved
agents shared one backing value. A mutation through any of those
pointers would corrupt the default and every other agent. It also
dereferenced the default unconditionally even though it can be nil.

Allocate a fresh pointer holding a copy of the default value, and
guard against a nil default so each resolved agent owns independent
state.

Signed-off-by: Émile Ré <emile@probo.com>
2026-06-01 14:15:29 +02:00
..
2026-05-20 09:27:28 +04:00