Skip to main content
Glama
STATUS_UPDATE_2025-06-10.md3.34 kB
# FreeCAD AI Addon - Status Update 2025-06-10 ## Today's Accomplishments ### 🔧 Critical Bug Fixes Completed #### 1. BUGFIX_003: Provider Service Import Failure - ✅ RESOLVED **Issue**: "Could not import provider service - proceeding without it" **Root Cause**: Missing `get_provider_service()` function in provider_integration_service.py **Impact**: Provider synchronization, agent manager initialization failures **Fixes Applied**: - ✅ Added missing `get_provider_service()` singleton access function - ✅ Cleaned up duplicate provider entries in addon_config.json: - Normalized "anthropic"/"Anthropic" → "anthropic" - Normalized "google"/"Google" → "google" - Normalized "OpenRouter"/"openrouter" → "openrouter" - ✅ Updated default_provider to use normalized naming ("google") #### 2. BUGFIX_004: OpenRouter Async Models Error - ✅ RESOLVED **Issue**: TypeError when selecting OpenRouter provider in UI **Root Cause**: `get_available_models()` was async but UI expected synchronous call **Fixes Applied**: - ✅ Made `get_available_models()` synchronous for UI compatibility - ✅ Added `get_available_models_async()` for dynamic API calls - ✅ Fixed TypeError: QComboBox.addItems(coroutine) issue - ✅ Ensured consistent provider interface pattern ### 📊 Current Project Status #### ✅ Completed Areas - **Core Provider System**: All providers (Anthropic, OpenAI, Google, OpenRouter) functional - **Configuration Management**: Clean, normalized provider configs - **UI Stability**: Provider selection and model dropdowns working - **Service Architecture**: Provider service import and singleton pattern fixed - **Error Handling**: No more async/sync mismatches in UI layer #### 🔄 In Progress - **TEST_SUITE_001**: Comprehensive test setup with house modeling scenario - **FCAD001**: FreeCAD addon GUI development (95% complete) - **FCAI001**: Provider selection improvements (mostly complete) #### ⏳ Pending - **FC2_MISSING_TOOLS**: Analysis and recommendations for missing FreeCAD tools (high priority) ### 🎯 Next Priorities 1. **Verification Testing**: Restart FreeCAD and verify both fixes work in practice 2. **Test Suite**: Complete the comprehensive test framework (TEST_SUITE_001) 3. **Missing Tools**: Address the high-priority missing FreeCAD tools (FC2_MISSING_TOOLS) 4. **Documentation**: Update user guides with new provider functionality ### 📂 Files Modified Today - `/freecad-ai/ai/provider_integration_service.py` - Added get_provider_service() function - `/freecad-ai/addon_config.json` - Cleaned up duplicate providers - `/freecad-ai/ai/providers/openrouter_provider.py` - Fixed async/sync interface ### 🔍 Verification Needed Users should test: 1. **Provider Service**: No "Could not import provider service" error on startup 2. **OpenRouter Selection**: Can select OpenRouter provider without TypeError 3. **Model Dropdowns**: All providers show available models correctly 4. **Provider Sync**: Changes in provider tab reflect in chat tab 5. **Agent Manager**: Agent mode available without "not available" error ## Summary Two critical provider-related bugs have been resolved today, addressing fundamental issues in the FreeCAD AI addon's provider architecture. The addon should now provide a stable provider selection experience for all supported AI services.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jango-blockchained/mcp-freecad'

If you have feedback or need assistance with the MCP directory API, please join our Discord server