[kimi] Add /api/matrix/config endpoint for world configuration (#674) #736
Reference in New Issue
Block a user
Delete Branch "kimi/issue-674"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #674
Summary
Added GET /api/matrix/config endpoint that serves world configuration to the Matrix frontend, enabling config-driven rendering instead of hardcoded values.
Changes
/api/matrix/configendpoint with:_DEFAULT_MATRIX_CONFIG: Sensible fallback defaults_load_matrix_config(): Loads config from YAML with graceful fallbackget_matrix_config(): FastAPI route handler returning JSON configResponse Structure
Testing
tox -e unit)tox -e lint)