Fetching metadata from the HF Docker repository...
Sep 13 13:29 refactor(core): reduce cyclomatic complexity to <=10, enforce <=500 lines per file, apply comment discipline, and add 22-tool test suite Sep 6 07:06 feat(tools): add get_market_rate_changes tool for market-level rate change counts Sep 5 18:37 feat(scaling): enterprise multi-market dynamic registry and international scaling support Sep 4 13:53 feat(pulse-ai): revamp RPCs, fix availability/filtering bugs, add ranked slices and token compression Aug 22 12:30 fix: align Supabase RPC signatures, context discovery & tool carryover 1. Supabase RPC 1:1 Parameter Alignments:
- Aligned all tool schemas in services/tools.py to match exact SQL DDL signatures from all_rpcs.sql.
- Added robust parameter normalization and unknown-parameter stripping in services/supabase_service.py to eliminate PGRST202 schema errors.
2. Context-Enriched Semantic Discovery:
- Enhanced discover_tools() for short queries (e.g. 'Miami') to include previous conversation turn context, accurately retrieving get_market_snapshot.
3. Conversational Tool Carryover:
- Updated forced synthesis to prompt the LLM to invoke suggest_actions for any uncompleted multi-step workflows (e.g. export reports, property comparisons, deep volatility dives). Aug 20 15:06 feat: idempotent 3-way RAG sync, non-technical dashboard knowledge base overhaul, and parameterized get_dashboard_kpis Aug 16 22:08 fix: resolve tool schemas (get_nearby_properties, get_most_volatile_properties, get_property_snapshot) + add failed_generation recovery Aug 11 18:25 fix: tool schema bugs + route architecture v1 Tool schema fixes (were causing 400 errors):
- get_market_trend: p_market/p_days params + required=['p_market']
- get_spike_alerts: threshold_param/days_param param names
- get_rate_anomaly_report: required=['p_property_search']
Supabase service param alignment (were silently mismatching):
- get_market_trend: clamp reads p_days
- get_spike_alerts: clamp reads threshold_param/days_param
- get_market_snapshot: validation reads p_start_date/p_end_date
- get_recently_changed_tracking: clamp reads p_days
- Added RPC signature comments to every handler block
Route architecture v1:
- routes/__init__.py: exports v1_router
- routes/v1/__init__.py: aggregates sub-routers
- routes/v1/real_estate.py: /api/v1/real-estate/* with structured errors
- routes/v1/rag.py: /api/v1/rag/chat migrated from main.py
- routes/v1/health.py: /health + /api/v1/health
- main.py: cleaned, all logic moved to route modules
- Backwards-compat shim for /api/rag/chat (marked deprecated) 12:33 Latest changes 11:28 feat: token compression, geocoding, 18-tool layer, advisory prompt rule Phase 1 and 2 - Python middleware + tool restructure:
- compress_tool_output(): metadata hoisting + null stripping + CSV rendering
Verified 90.4% token reduction (7,360 -> 704 tokens on failing trace)
- geocode_address_handler(): Mapbox API with timeout/HTTP/parse error handling
- SYNTHESIS_PROMPT: Rule 6 - advisory two-part format + mandatory disclaimer
- Session history cap: 20 -> 6 messages
- tools.py: 18 tools total, retired get_properties_by_filter, added 8 new tools,
rewrote all descriptions for LLM disambiguation
- supabase_service.py: clamping for all RPCs, Python-side tool guard
- config.py: added MAPBOX_ACCESS_TOKEN
- requirements.txt: added requests>=2.31.0
- .gitignore: added additional_tools.py Aug 8 15:02 Latest changes 06:48 Update chat backend to include agentic features