1. "LLM manager required: register in DI or provide config.llm"01
Cause:
no compatible
aisdk.LLMManagerin containerand extension could not build one from config
Fix:
register an
aisdk.LLMManagerconstructor before app startor provide complete
LLMConfigurationand ensure manager creation succeeds
2. Startup falls back to memory state/vector store unexpectedly02
Cause:
configured backend creation failed during constructor execution
Fix:
check startup logs for the original create error
validate backend credentials and connectivity
for vector store, remember only memory is currently implemented in factory code
3. Agents endpoint returns "agent factory not configured"03
Cause:
extension did not register correctly
or controller is mounted before extension services are available
Fix:
register extension before route setup
start app successfully before request traffic
verify
ai.GetAgentFactory(app.Container())resolves
4. Training services not found in DI04
Cause:
Training.Enabledis false
Fix:
set
ai.TrainingConfiguration{Enabled: true, ...}restart app and resolve
ai.ModelTrainerby type
5. Provider appears configured but model calls fail05
Cause:
LLMConfiguration.Providersis currently not auto-registered
Fix:
register providers manually on
LLMManagerduring app bootstrapverify provider registration with a simple prompt test
6. State is persisted but agent definitions disappear after restart06
Cause:
AgentManagerstores definitions in in-memory maps
Fix:
persist agent definitions in your own database/service
recreate agents at startup from your stored metadata