backend/whatsapp/agent.py

Source

WhatsApp Agent ==============

Symbol Kind Source line
_save_conversation AsyncFunctionDef L126
_update_conversation AsyncFunctionDef L171
_get_processing_conversation_for_listing AsyncFunctionDef L190
_upsert_user_profile AsyncFunctionDef L217
_get_user_profile AsyncFunctionDef L244
_update_user_profile AsyncFunctionDef L261
_append_message AsyncFunctionDef L276
_get_recent_messages AsyncFunctionDef L324
_get_latest_listing_for_phone AsyncFunctionDef L349
_get_latest_active_project_for_phone AsyncFunctionDef L391
_get_pending_call_debriefs AsyncFunctionDef L430
_mark_debrief_done AsyncFunctionDef L471
_get_tradespeople_for_project AsyncFunctionDef L489
extract_listing_url FunctionDef L526
_is_social_url FunctionDef L562
_fetch_social_preview_media_item AsyncFunctionDef L570
_collapse_url_spaces FunctionDef L647
handle_inbound AsyncFunctionDef L677
run_coalesced_turn AsyncFunctionDef L849
_truncate FunctionDef L891
_handle_chat AsyncFunctionDef L898
_handle_chat._fast_reply_if_trivial FunctionDef L916
_handle_chat._fetch_as_b64 AsyncFunctionDef L947
_handle_chat._msg_line FunctionDef L1193
_handle_chat._compute_capabilities FunctionDef L1242
_handle_chat._build_tool_declarations FunctionDef L1320
_handle_chat._execute_tool AsyncFunctionDef L1325
_handle_chat._build_room_inventory FunctionDef L1383
_handle_chat._build_debrief_block FunctionDef L1469
_handle_chat._build_prompt FunctionDef L1515
handle_pipeline_complete AsyncFunctionDef L1750

Search documentation

Type to find a guide or section.

↑ ↓ to choose · Enter to open · Esc to close