This file tracks discrepancies found between documentation and the actual Python codebase after backwards compatibility cleanup.
self.setPersonality("You are a helpful assistant.")
self.setGoal("Help users with basic questions.")
self.setInstructions(["Be concise and clear."])
AgentBase
classprompt_add_section()
with explicit title/body parametersDataMap('get_weather').description('Get current weather information')
.purpose()
instead of .description()
api_ninjas_trivia
, joke
, play_background_file
, weather_api
, wikipedia_search
, datasphere_serverless
native_vector_search
(directory exists but incomplete)add_bullets()
usageagent.serve(host="0.0.0.0", port=8000)
def serve(self, host: Optional[str] = None, port: Optional[int] = None)
still exists in agent_base.pyserve()
and run()
methods accept host/port parametersAll instances:
Line 2081: agent.serve(host="0.0.0.0", port=8000)
agent.serve(host="0.0.0.0", port=8000)
agent.serve(host="0.0.0.0", port=8000)
agent.serve(host="0.0.0.0", port=8000)
agent.serve(host="0.0.0.0", port=8000)
support_agent.serve(host="0.0.0.0", port=8000)
serve(host=None, port=None)
methodDataMap('tool').description('Tool description')
def description(self, description: str) -> 'DataMap':
exists in signalwire_agents/core/data_map.py.purpose()
method .description()
method, not .purpose()
Docs show:
Line 60: self.add_answer_verb()
self.add_hangup_verb()
add_ai_verb()
add_ai_verb()
self.add_verb("answer", {})
, self.add_verb("hangup", {})
, etc.