Skip to main content

API Client Not Configured

Solution: Ensure you have either:
  1. Environment variables set (RUNFLOW_API_KEY, RUNFLOW_TENANT_ID)
  2. A .runflow/rf.json file
  3. Manually configured the API client

Memory Not Persisting

Issue: Memory is not persisting between sessions Solution: Ensure you’re passing the same sessionId or using identify() consistently:

Tool Not Being Called

Issue: Agent is not calling tools even when it should Solution:
  1. Make sure tool descriptions are clear and specific
  2. Use debug: true to see what the agent is doing
  3. Check that maxToolIterations is not set too low

RAG Not Finding Results

Issue: Knowledge base search returns no results Solution:
  1. Check threshold value (lower = more results)
  2. Increase k value for more results
  3. 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