Revert to OPENAI_API_KEY and switch to gpt-4o-mini
Jacek Zadrożny
f2986d3
Changes:
- Changed configuration from GITHUB_TOKEN back to OPENAI_API_KEY
- Switched LLM model from gpt-4o to gpt-4o-mini (15x cheaper, faster)
- Updated all code references in config.py, agent, models, and tests
- Added .github/copilot-instructions.md for better AI assistance
- Updated .gitignore to exclude node_modules and npm files
Zamiana OPENAI_API_KEY na GITHUB_TOKEN w kodzie, dokumentacji i konfiguracji
Jacek Zadrożny
f9779bd
Add detailed logging and fix read-only filesystem issues
Jacek Zadrożny
787b7ff
- Add verbose logging to agent creation process
- Fix VectorStoreClient to handle read-only filesystem
- Fix EmbeddingsClient cache creation with proper error handling
- Only create directories if they don't exist and we have write permissions
- Better traceback logging for database connection errors
Fix signal error in background thread
Jacek Zadrożny
77bf306
- Remove signal-based timeout (doesn't work in threads)
- Simplify to basic background initialization
- Update HUGGINGFACE_DEBUG.md with correct approach
Remove asyncio completely to fix event loop cleanup errors
Jacek Zadrożny
5411262
- Convert all async functions to synchronous
- Remove asyncio.to_thread() and event loop management
- Simplify embeddings client (direct API calls with retry logic)
- Simplify agent initialization (no event loops needed)
- Fix all docstring examples to remove await
- Eliminates 'Invalid file descriptor: -1' errors completely