added structure for db

This commit is contained in:
Radu Macocian (admac)
2026-06-12 16:44:04 +02:00
parent de546d8df4
commit 4f989aa512
8 changed files with 252 additions and 58 deletions
+19
View File
@@ -14,6 +14,25 @@ type Config struct {
Api ApiConfig
Llm LLMConfig
Logging []LogConfig
Db DbConfig
}
type DbConfig struct {
Url string
Port string
DbName string
User string
Password string
History HistoryConfig
Memory MemoryConfig
}
type MemoryConfig struct {
Enabled bool
}
type HistoryConfig struct {
Enabled bool
}
type ApiConfig struct {