mirror of
https://github.com/esengine/DeepSeek-Reasonix.git
synced 2026-11-11 10:01:27 -10:00
A nil *ProviderAutoPlanClassifier assigned to an interface field passed the != nil guard and panicked on its nil receiver (auto-plan classifier, desktop). Harden the whole class: add nilutil.IsNil to detect interfaces wrapping a typed nil, and normalize optional-interface inputs at their constructor/update boundaries — agent sink/gate/hooks, coordinator and controller sinks, the classifier, job-manager sink, and event sinks. provider.New now rejects a factory that returns a typed-nil provider so bad setup fails early instead of crashing later. No provider-visible prompt, tool-schema, or serialization changes.