- Added null handling for input in the I18n Parse method to prevent errors with nil values. - Refactored string parsing logic into a separate method for improved clarity and maintainability. - Updated assistant translation logic to streamline the application of i18n translations for various fields, including name, description, and prompts. - Introduced new tests to validate the retrieval of assistants with locale-specific translations, ensuring correct behavior across different languages. - Enhanced the GetHistoryWithFilter method to maintain consistent silent message filtering and pagination logic.
50 lines
697 B
Text
50 lines
697 B
Text
# Binaries for programs and plugins
|
|
*.exe
|
|
*.exe~
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
|
|
# Test binary, built with `go test -c`
|
|
*.test
|
|
|
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
|
*.out
|
|
|
|
*.log
|
|
|
|
# Dependency directories (remove the comment below to include it)
|
|
# vendor/
|
|
.DS_Store
|
|
.env*
|
|
.tmp
|
|
dist
|
|
ui
|
|
^ui/index.html
|
|
tests/data/*
|
|
!tests/data/assets
|
|
debug.log
|
|
yao-test
|
|
dev.sh
|
|
logs
|
|
logs/application.log
|
|
yao-arm64
|
|
tests/db/yao.db
|
|
env.*.sh
|
|
xgen/v0.9/*
|
|
xgen/v1.0/*
|
|
!xgen/v0.9/index.html
|
|
!xgen/v1.0/index.html
|
|
!xgen/v1.0/umi.js
|
|
!xgen/v1.0/layouts__index.async.js
|
|
!pipe/ui
|
|
*-unit-test
|
|
docker/build/test
|
|
db
|
|
*.sh
|
|
data/bindata.go.bak
|
|
share/const.go.bak
|
|
share/const.goe
|
|
.cursor
|
|
openapi/*.md
|
|
coverage.html
|