Изменение на 23.02.2026 22:06

This commit is contained in:
Dmitriy Fofanov
2026-02-23 22:06:49 +03:00
parent 992622eb1a
commit 19e7f94711
6 changed files with 679 additions and 271 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ import (
"github.com/joho/godotenv"
)
var version = "2.0.0"
var version = "dev" // переопределяется при сборке: -ldflags "-X main.version=X.Y.Z"
type appConfig struct {
Dir struct {
@@ -189,7 +189,7 @@ func main() {
// infoStr встраивается в шапку TUI для отображения конфига.
infoStr := fmt.Sprintf("%s | TorrAPI: %s | LLM: %s",
rootPath, effectiveAPIURL, llmLabel)
tuiLog := presentation.NewTUILogger(len(folders), infoStr, resultRoot, effectiveAPIURL, effectiveWorkers)
tuiLog := presentation.NewTUILogger(len(folders), infoStr, resultRoot, effectiveAPIURL, version, effectiveWorkers)
procCfg := usecase.ProcessingConfig{
Workers: effectiveWorkers,