fix(memory): fix LLMClient parameter mismatch and add nil logger check

- Update LLMClient test to match NewLLMClient signature by passing nil logger
- Add nil check for logger in NewLLMClient to prevent panic, defaulting to slog.Default()
This commit is contained in:
BBQ
2026-02-01 17:52:18 +08:00
parent 50e9d48cef
commit d12092870f
8 changed files with 45 additions and 4 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
version: "2"
sql:
- engine: "postgresql"
schema: "db/migrations/0001_init.up.sql"
schema:
- "db/migrations/0001_init.up.sql"
- "db/migrations/0002_channel.up.sql"
queries: "db/queries"
gen:
go: