API Client Not Configured
- Environment variables set (
RUNFLOW_API_KEY,RUNFLOW_TENANT_ID) - A
.runflow/rf.jsonfile - Manually configured the API client
Memory Not Persisting
Issue: Memory is not persisting between sessions Solution: Ensure you’re passing the samesessionId or using identify() consistently:
Tool Not Being Called
Issue: Agent is not calling tools even when it should Solution:- Make sure tool descriptions are clear and specific
- Use
debug: trueto see what the agent is doing - Check that
maxToolIterationsis not set too low
RAG Not Finding Results
Issue: Knowledge base search returns no results Solution:- Check
thresholdvalue (lower = more results) - Increase
kvalue for more results - Verify vector store name is correct
TypeScript Errors
Issue: TypeScript errors when using the SDK Solution: Make sure you’re using TypeScript >= 5.0.0 and have proper types:Next Steps
Configuration
Review configuration
API Reference
Check API documentation