feat: enhance localization and configuration support
- Added timezone and language settings to the environment configuration. - Introduced built-in agent configurations with multilingual support for various agents. - Updated Docker Compose to utilize new environment variables for timezone and language. - Created new prompt templates for question generation, summary generation, and keywords extraction.
This commit is contained in:
@@ -79,6 +79,7 @@ func NewRouter(params RouterParams) *gin.Engine {
|
||||
|
||||
// 基础中间件(不需要认证)
|
||||
r.Use(middleware.RequestID())
|
||||
r.Use(middleware.Language())
|
||||
r.Use(middleware.Logger())
|
||||
r.Use(middleware.Recovery())
|
||||
r.Use(middleware.ErrorHandler())
|
||||
|
||||
Reference in New Issue
Block a user