fix(dialog): use uuid.New() for ticket and audit IDs

- Replace fmt.Sprintf with sess.ID+nanotime that generated non-UUID strings
- ticket creation and audit logging now use github.com/google/uuid
- Fixes 500 error when webhook processes messages with PG store
- All 23/23 tests pass, verified Gate B end-to-end
This commit is contained in:
Your Name
2026-05-04 08:25:46 +08:00
parent e27b2e1551
commit 3427f65330
3 changed files with 10 additions and 3 deletions

5
go.mod
View File

@@ -2,4 +2,7 @@ module github.com/bridge/ai-customer-service
go 1.22
require github.com/lib/pq v1.10.9
require (
github.com/google/uuid v1.6.0
github.com/lib/pq v1.10.9
)