- Introduced locale parameter in GetAssistants and GetAssistant methods across various store implementations to support localized responses. - Updated handleChatLatest, handleAssistantList, handleAssistantDetail, and handleAssistantTags functions to utilize the new locale handling for better user experience. - Refactored GetPlaceholder method in the Assistant struct to accept a locale argument for dynamic placeholder translations. - Removed redundant i18n code and centralized translation logic for cleaner implementation. |
||
|---|---|---|
| .. | ||
| app.go | ||
| app_test.go | ||
| types.go | ||