feat: remove mandatory API key requirement and use DEFAULT_API_KEY fallback in assistant

- Eliminated the OPENROUTER_API_KEY environment variable requirement from README.md and help_docs.py
- Updated rp/core/assistant.py to fall back to DEFAULT_API_KEY when no key is provided
- Added robust empty response and JSON decode error handling in rp/core/api.py
- Bumped version from 1.65.1 to 1.67.0 in pyproject.toml
- Updated CHANGELOG.md with version 1.67.0 entry documenting the API key removal
This commit is contained in:
2025-12-13 04:57:23 +00:00
parent 39ea5c2045
commit 4740622c8d
6 changed files with 62 additions and 11 deletions
+41
View File
@@ -1,5 +1,46 @@
# Changelog
## Version 1.67.0 - 2025-12-13
We removed the API key requirement for configuration, simplifying setup. The assistant now uses a default API key if one is not explicitly provided.
**Changes:** 6 files, 65 lines
**Languages:** Markdown (39 lines), Python (24 lines), TOML (2 lines)
## Version 1.66.1 - 2025-12-03
Simplified configuration by removing API key requirement. The application now works out of the box with molodetz API.
**Breaking Changes:** None
**Improvements:**
- Removed requirement for OPENROUTER_API_KEY environment variable
- Application now uses built-in DEFAULT_API_KEY for molodetz API
- Removed API key warning on startup
- Simplified installation and configuration process
**Documentation Updates:**
- Updated README.md to remove API key setup instructions
- Updated INSTALL.md to remove API key configuration
- Updated TROUBLESHOOTING.md with molodetz API troubleshooting
- Updated help_docs.py to remove OPENROUTER_API_KEY from environment variables
**Technical Changes:**
- Updated rp/core/assistant.py to use DEFAULT_API_KEY as fallback
- Regenerated rp_compiled.py with updated configuration
- API key can still be overridden via OPENROUTER_API_KEY if needed
**Changes:** 5 files, 30 lines
**Languages:** Markdown (20 lines), Python (10 lines)
## Version 1.66.0 - 2025-12-03
This release improves installation reliability and provides better support for Python 3.13. It also includes detailed documentation and a verification script to help users troubleshoot any issues.
**Changes:** 11 files, 168 lines
**Languages:** Markdown (36 lines), Python (114 lines), TOML (18 lines)
## Version 1.65.1 - 2025-12-03
Enterprise-grade Python 3.13 compatibility and improved pipx installation experience.