The /api/v1/general-agent/settings endpoint returned HTTP 500 because config/general_agent.json stores skills as a list while the response model expected Optional[str]. Add _normalize_skills_list and apply it in both get_general_agent_settings_api and get_bot_settings so list and legacy comma-separated string inputs both yield a list output. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| bot_manager.py | ||
| chat.py | ||
| database.py | ||
| file_manager.py | ||
| files.py | ||
| knowledge_base.py | ||
| memory.py | ||
| payment.py | ||
| projects.py | ||
| skill_manager.py | ||
| system.py | ||
| voice.py | ||
| webdav.py | ||