Files
ai_proxy/server/log/2026-02-27/error.log
2026-03-03 06:05:51 +08:00

1802 lines
118 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[git.echol.cn/loser/ai_proxy/server]2026-02-27 00:00:00.088 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/task/clearTable.go:45
[55.124ms] [rows:0] DELETE FROM sys_operation_records WHERE created_at < '2025-11-29 00:00:00.021'
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:182
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/task.ClearTable
/Users/en/GolandProjects/st-ui/server/task/clearTable.go:45
git.echol.cn/loser/ai_proxy/server/initialize.Timer.func1.1
/Users/en/GolandProjects/st-ui/server/initialize/timer.go:18
github.com/robfig/cron/v3.FuncJob.Run
/Users/en/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:136
github.com/robfig/cron/v3.(*Cron).startJob.func1
/Users/en/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:312
[git.echol.cn/loser/ai_proxy/server]2026-02-27 00:00:00.139 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/task/clearTable.go:45
[35.926ms] [rows:0] DELETE FROM jwt_blacklists WHERE created_at < '2026-02-20 00:00:00.103'
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:182
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/task.ClearTable
/Users/en/GolandProjects/st-ui/server/task/clearTable.go:45
git.echol.cn/loser/ai_proxy/server/initialize.Timer.func1.1
/Users/en/GolandProjects/st-ui/server/initialize/timer.go:18
github.com/robfig/cron/v3.FuncJob.Run
/Users/en/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:136
github.com/robfig/cron/v3.(*Cron).startJob.func1
/Users/en/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:312
[git.echol.cn/loser/ai_proxy/server]2026-02-27 13:33:51.774 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/service/app/conversation.go:296 record not found
[17.745ms] [rows:0] SELECT * FROM "ai_configs" WHERE (provider = 'openai' AND is_active = true) AND "ai_configs"."deleted_at" IS NULL ORDER BY is_default DESC, created_at DESC,"ai_configs"."id" LIMIT 1
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).First
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:129
git.echol.cn/loser/ai_proxy/server/service/app.(*ConversationService).callAIService
/Users/en/GolandProjects/st-ui/server/service/app/conversation.go:296
git.echol.cn/loser/ai_proxy/server/service/app.(*ConversationService).SendMessage
/Users/en/GolandProjects/st-ui/server/service/app/conversation.go:259
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:227
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 13:33:51.778 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "未找到可用的 AI 配置"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 13:33:55.623 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/service/app/conversation.go:296 record not found
[12.766ms] [rows:0] SELECT * FROM "ai_configs" WHERE (provider = 'openai' AND is_active = true) AND "ai_configs"."deleted_at" IS NULL ORDER BY is_default DESC, created_at DESC,"ai_configs"."id" LIMIT 1
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).First
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:129
git.echol.cn/loser/ai_proxy/server/service/app.(*ConversationService).callAIService
/Users/en/GolandProjects/st-ui/server/service/app/conversation.go:296
git.echol.cn/loser/ai_proxy/server/service/app.(*ConversationService).SendMessage
/Users/en/GolandProjects/st-ui/server/service/app/conversation.go:259
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:227
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 13:33:55.623 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "未找到可用的 AI 配置"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 13:34:15.959 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/service/app/conversation.go:296 record not found
[18.177ms] [rows:0] SELECT * FROM "ai_configs" WHERE (provider = 'openai' AND is_active = true) AND "ai_configs"."deleted_at" IS NULL ORDER BY is_default DESC, created_at DESC,"ai_configs"."id" LIMIT 1
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).First
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:129
git.echol.cn/loser/ai_proxy/server/service/app.(*ConversationService).callAIService
/Users/en/GolandProjects/st-ui/server/service/app/conversation.go:296
git.echol.cn/loser/ai_proxy/server/service/app.(*ConversationService).SendMessage
/Users/en/GolandProjects/st-ui/server/service/app/conversation.go:259
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:227
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 13:34:15.961 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "未找到可用的 AI 配置"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 14:16:31.937 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[13.209ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 14:16:31.938 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 14:17:03.972 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "API 返回错误 401: {\"error\":{\"code\":\"\",\"message\":\"无效的令牌 (request id: 20260227061704106332144SBlA0fIq)\",\"type\":\"new_api_error\"}}"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 14:17:15.200 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "API 返回错误 401: {\"error\":{\"code\":\"\",\"message\":\"无效的令牌 (request id: 20260227061715330534984HjKfxWjP)\",\"type\":\"new_api_error\"}}"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 14:17:19.656 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "API 返回错误 401: {\"error\":{\"code\":\"\",\"message\":\"无效的令牌 (request id: 20260227061719755771557m7zQ562S)\",\"type\":\"new_api_error\"}}"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 14:53:11.303 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[8.976ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 14:53:11.304 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 14:55:51.998 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "API 返回错误 503: {\"error\":{\"code\":\"model_not_found\",\"message\":\"No available channel for model gpt-4 under group 智谱官方 (distributor) (request id: 20260227065552155845147KFC6ydfv)\",\"type\":\"new_api_error\"}}"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 14:56:13.478 error /Users/en/GolandProjects/st-ui/server/api/v1/app/ai_config.go:136 获取模型列表失败 {"error": "API返回错误 401: {\"error\":{\"code\":\"\",\"message\":\"无效的令牌 (request id: 20260227065613638671572RKMgvOVY)\",\"type\":\"new_api_error\"}}"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*AIConfigApi).GetModels
/Users/en/GolandProjects/st-ui/server/api/v1/app/ai_config.go:136
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 14:58:25.192 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "API 返回错误 503: {\"error\":{\"code\":\"model_not_found\",\"message\":\"No available channel for model gpt-4 under group 智谱官方 (distributor) (request id: 20260227065825361703675nRfroavt)\",\"type\":\"new_api_error\"}}"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:06:25.765 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[17.602ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:06:25.766 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:06:29.625 error /Users/en/GolandProjects/st-ui/server/api/v1/app/ai_config.go:136 获取模型列表失败 {"error": "API返回错误 401: {\"error\":{\"code\":\"\",\"message\":\"无效的令牌 (request id: 20260227070629794142394qXjP8ifL)\",\"type\":\"new_api_error\"}}"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*AIConfigApi).GetModels
/Users/en/GolandProjects/st-ui/server/api/v1/app/ai_config.go:136
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:06:55.258 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "API 返回错误 503: {\"error\":{\"code\":\"model_not_found\",\"message\":\"No available channel for model gpt-4 under group 智谱官方 (distributor) (request id: 20260227070655425517941rOYXCs4f)\",\"type\":\"new_api_error\"}}"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:08:13.522 error /Users/en/GolandProjects/st-ui/server/api/v1/app/ai_config.go:136 获取模型列表失败 {"error": "API返回错误 401: {\"error\":{\"code\":\"\",\"message\":\"无效的令牌 (request id: 202602270708136913831602k7nQkXz)\",\"type\":\"new_api_error\"}}"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*AIConfigApi).GetModels
/Users/en/GolandProjects/st-ui/server/api/v1/app/ai_config.go:136
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:10:59.730 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[8.224ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:10:59.732 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:11:06.332 error /Users/en/GolandProjects/st-ui/server/api/v1/app/ai_config.go:136 获取模型列表失败 {"error": "API返回错误 401: {\"error\":{\"code\":\"\",\"message\":\"无效的令牌 (request id: 202602270711065080165771GuRtsfi)\",\"type\":\"new_api_error\"}}"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*AIConfigApi).GetModels
/Users/en/GolandProjects/st-ui/server/api/v1/app/ai_config.go:136
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:13:51.907 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[7.948ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:13:51.909 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:14:34.135 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "API 返回错误 503: {\"error\":{\"code\":\"model_not_found\",\"message\":\"No available channel for model gpt-4 under group 智谱官方 (distributor) (request id: 20260227071434297983334YLl9TZGr)\",\"type\":\"new_api_error\"}}"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:21:57.740 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[11.254ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:21:57.740 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:22:10.237 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "API 返回错误 503: {\"error\":{\"code\":\"model_not_found\",\"message\":\"No available channel for model gpt-4 under group 智谱官方 (distributor) (request id: 20260227072210334868869uBp9VQqz)\",\"type\":\"new_api_error\"}}"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:23:13.196 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "API 返回错误 503: {\"error\":{\"code\":\"model_not_found\",\"message\":\"No available channel for model gpt-4 under group 阿里官方 (distributor) (request id: 20260227072313362903686wje3AXLi)\",\"type\":\"new_api_error\"}}"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:24:07.357 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "API 返回错误 503: {\"error\":{\"code\":\"model_not_found\",\"message\":\"No available channel for model gpt-4 under group 阿里官方 (distributor) (request id: 20260227072406196836777T9Fem3Lj)\",\"type\":\"new_api_error\"}}"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:24:11.983 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "API 返回错误 503: {\"error\":{\"code\":\"model_not_found\",\"message\":\"No available channel for model gpt-4 under group 阿里官方 (distributor) (request id: 20260227072412148939275IVcPV7lW)\",\"type\":\"new_api_error\"}}"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:24:20.687 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "API 返回错误 503: {\"error\":{\"code\":\"model_not_found\",\"message\":\"No available channel for model gpt-4 under group 阿里官方 (distributor) (request id: 202602270724208525574909TE5gLH6)\",\"type\":\"new_api_error\"}}"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:24:45.303 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[17.770ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:24:45.305 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:41:48.065 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[9.860ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:41:48.067 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:48:54.026 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[8.754ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:48:54.027 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:50:25.501 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "请求失败: Post \"http://152.53.38.155:7788/v1/chat/completions\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:50:58.769 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "请求失败: Post \"http://152.53.38.155:7788/v1/chat/completions\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:52:12.780 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "请求失败: Post \"http://152.53.38.155:7788/v1/chat/completions\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:53:12.715 error /Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229 发送消息失败 {"error": "请求失败: Post \"http://152.53.38.155:7788/v1/chat/completions\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessage
/Users/en/GolandProjects/st-ui/server/api/v1/app/conversation.go:229
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
/Users/en/GolandProjects/st-ui/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
/Users/en/GolandProjects/st-ui/server/middleware/cors.go:26
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
/Users/en/GolandProjects/st-ui/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/Users/en/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:3340
net/http.(*conn).serve
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/net/http/server.go:2109
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:55:45.407 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[13.218ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 15:55:45.408 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 16:08:32.103 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[8.023ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 16:08:32.104 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 16:23:31.541 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[9.109ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 16:23:31.542 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 16:30:28.770 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[7.695ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 16:30:28.776 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 16:41:46.711 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[7.861ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 16:41:46.713 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 16:49:02.643 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[7.331ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 16:49:02.645 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 17:03:59.849 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[7.373ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 17:03:59.850 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 18:24:51.462 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[7.668ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 18:24:51.467 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:96
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 19:03:13.384 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[7.483ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:97
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 19:03:13.385 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:97
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 19:07:46.469 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[14.957ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:97
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 19:07:46.470 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:97
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 19:15:47.826 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[7.092ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:97
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 19:15:47.827 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:97
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 19:40:53.228 error /Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31 /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[35.070ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
/Users/en/GolandProjects/st-ui/server/initialize/internal/gorm_logger_writer.go:31
gorm.io/gorm/logger.(*logger).Trace
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
/Users/en/go/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:97
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 19:40:53.326 error /Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
/Users/en/GolandProjects/st-ui/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
/Users/en/GolandProjects/st-ui/server/initialize/gorm.go:97
main.initializeSystem
/Users/en/GolandProjects/st-ui/server/main.go:49
main.main
/Users/en/GolandProjects/st-ui/server/main.go:32
runtime.main
/Users/en/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.25.7.darwin-arm64/src/runtime/proc.go:285
[git.echol.cn/loser/ai_proxy/server]2026-02-27 22:03:02.557 error C:/Users/Administrator/GolandProjects/st-react/server/initialize/internal/gorm_logger_writer.go:32 C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[13.684ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
C:/Users/Administrator/GolandProjects/st-react/server/initialize/internal/gorm_logger_writer.go:32
gorm.io/gorm/logger.(*logger).Trace
D:/GOPATH/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
D:/GOPATH/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
D:/GOPATH/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm.go:96
main.initializeSystem
C:/Users/Administrator/GolandProjects/st-react/server/main.go:49
main.main
C:/Users/Administrator/GolandProjects/st-react/server/main.go:32
runtime.main
C:/Program Files/Go/src/runtime/proc.go:283
[git.echol.cn/loser/ai_proxy/server]2026-02-27 22:03:02.560 error C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm.go:96
main.initializeSystem
C:/Users/Administrator/GolandProjects/st-react/server/main.go:49
main.main
C:/Users/Administrator/GolandProjects/st-react/server/main.go:32
runtime.main
C:/Program Files/Go/src/runtime/proc.go:283
[git.echol.cn/loser/ai_proxy/server]2026-02-27 22:33:49.067 error C:/Users/Administrator/GolandProjects/st-react/server/service/app/conversation.go:696 ========== [流式传输] AI返回错误 ==========
读取流失败: context deadline exceeded (Client.Timeout or context cancellation while reading body)
==========================================
git.echol.cn/loser/ai_proxy/server/service/app.(*ConversationService).SendMessageStream
C:/Users/Administrator/GolandProjects/st-react/server/service/app/conversation.go:696
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessageStream.func1
C:/Users/Administrator/GolandProjects/st-react/server/api/v1/app/conversation.go:262
[git.echol.cn/loser/ai_proxy/server]2026-02-27 22:34:07.606 error C:/Users/Administrator/GolandProjects/st-react/server/initialize/internal/gorm_logger_writer.go:32 C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[4.169ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
C:/Users/Administrator/GolandProjects/st-react/server/initialize/internal/gorm_logger_writer.go:32
gorm.io/gorm/logger.(*logger).Trace
D:/GOPATH/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
D:/GOPATH/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
D:/GOPATH/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm.go:96
main.initializeSystem
C:/Users/Administrator/GolandProjects/st-react/server/main.go:49
main.main
C:/Users/Administrator/GolandProjects/st-react/server/main.go:32
runtime.main
C:/Program Files/Go/src/runtime/proc.go:283
[git.echol.cn/loser/ai_proxy/server]2026-02-27 22:34:07.607 error C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm.go:96
main.initializeSystem
C:/Users/Administrator/GolandProjects/st-react/server/main.go:49
main.main
C:/Users/Administrator/GolandProjects/st-react/server/main.go:32
runtime.main
C:/Program Files/Go/src/runtime/proc.go:283
[git.echol.cn/loser/ai_proxy/server]2026-02-27 22:39:30.957 error C:/Users/Administrator/GolandProjects/st-react/server/service/app/conversation.go:719 ========== [流式传输] AI返回错误 ==========
请求失败: Post "http://152.53.38.155:7788/v1/chat/completions": EOF
==========================================
git.echol.cn/loser/ai_proxy/server/service/app.(*ConversationService).SendMessageStream
C:/Users/Administrator/GolandProjects/st-react/server/service/app/conversation.go:719
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessageStream.func1
C:/Users/Administrator/GolandProjects/st-react/server/api/v1/app/conversation.go:339
[git.echol.cn/loser/ai_proxy/server]2026-02-27 23:26:04.567 error C:/Users/Administrator/GolandProjects/st-react/server/service/app/conversation.go:719 ========== [流式传输] AI返回错误 ==========
API 返回错误 504: {"error":{"message":"openai_error","type":"bad_response_status_code","param":"","code":"bad_response_status_code"}}
==========================================
git.echol.cn/loser/ai_proxy/server/service/app.(*ConversationService).SendMessageStream
C:/Users/Administrator/GolandProjects/st-react/server/service/app/conversation.go:719
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessageStream.func1
C:/Users/Administrator/GolandProjects/st-react/server/api/v1/app/conversation.go:339
[git.echol.cn/loser/ai_proxy/server]2026-02-27 23:26:58.566 error C:/Users/Administrator/GolandProjects/st-react/server/initialize/internal/gorm_logger_writer.go:32 C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[3.663ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
C:/Users/Administrator/GolandProjects/st-react/server/initialize/internal/gorm_logger_writer.go:32
gorm.io/gorm/logger.(*logger).Trace
D:/GOPATH/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
D:/GOPATH/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
D:/GOPATH/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm.go:98
main.initializeSystem
C:/Users/Administrator/GolandProjects/st-react/server/main.go:49
main.main
C:/Users/Administrator/GolandProjects/st-react/server/main.go:32
runtime.main
C:/Program Files/Go/src/runtime/proc.go:283
[git.echol.cn/loser/ai_proxy/server]2026-02-27 23:26:58.567 error C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm.go:98
main.initializeSystem
C:/Users/Administrator/GolandProjects/st-react/server/main.go:49
main.main
C:/Users/Administrator/GolandProjects/st-react/server/main.go:32
runtime.main
C:/Program Files/Go/src/runtime/proc.go:283
[git.echol.cn/loser/ai_proxy/server]2026-02-27 23:32:44.650 error C:/Users/Administrator/GolandProjects/st-react/server/initialize/internal/gorm_logger_writer.go:32 C:/Users/Administrator/GolandProjects/st-react/server/service/app/worldbook.go:196 ERROR: syntax error at or near "order" (SQLSTATE 42601)
[4.191ms] [rows:1] SELECT * FROM "worldbook_entries" WHERE worldbook_id = 1 AND "worldbook_entries"."deleted_at" IS NULL ORDER BY `order` ASC, created_at ASC
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
C:/Users/Administrator/GolandProjects/st-react/server/initialize/internal/gorm_logger_writer.go:32
gorm.io/gorm/logger.(*logger).Trace
D:/GOPATH/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
D:/GOPATH/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Find
D:/GOPATH/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:170
git.echol.cn/loser/ai_proxy/server/service/app.(*WorldbookService).GetEntryList
C:/Users/Administrator/GolandProjects/st-react/server/service/app/worldbook.go:196
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*WorldbookApi).GetEntryList
C:/Users/Administrator/GolandProjects/st-react/server/api/v1/app/worldbook.go:239
github.com/gin-gonic/gin.(*Context).Next
D:/GOPATH/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
C:/Users/Administrator/GolandProjects/st-react/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
D:/GOPATH/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
C:/Users/Administrator/GolandProjects/st-react/server/middleware/cors.go:27
github.com/gin-gonic/gin.(*Context).Next
D:/GOPATH/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
D:/GOPATH/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
D:/GOPATH/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
C:/Users/Administrator/GolandProjects/st-react/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
D:/GOPATH/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
D:/GOPATH/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
D:/GOPATH/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
C:/Program Files/Go/src/net/http/server.go:3301
net/http.(*conn).serve
C:/Program Files/Go/src/net/http/server.go:2102
[git.echol.cn/loser/ai_proxy/server]2026-02-27 23:32:44.650 error C:/Users/Administrator/GolandProjects/st-react/server/api/v1/app/worldbook.go:241 获取条目列表失败 {"error": "ERROR: syntax error at or near \"order\" (SQLSTATE 42601)"}
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*WorldbookApi).GetEntryList
C:/Users/Administrator/GolandProjects/st-react/server/api/v1/app/worldbook.go:241
github.com/gin-gonic/gin.(*Context).Next
D:/GOPATH/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.AppJWTAuth.func1
C:/Users/Administrator/GolandProjects/st-react/server/middleware/app_jwt.go:71
github.com/gin-gonic/gin.(*Context).Next
D:/GOPATH/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.Cors.func1
C:/Users/Administrator/GolandProjects/st-react/server/middleware/cors.go:27
github.com/gin-gonic/gin.(*Context).Next
D:/GOPATH/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
D:/GOPATH/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
D:/GOPATH/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
git.echol.cn/loser/ai_proxy/server/middleware.GinRecovery.func1
C:/Users/Administrator/GolandProjects/st-react/server/middleware/error.go:78
github.com/gin-gonic/gin.(*Context).Next
D:/GOPATH/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
D:/GOPATH/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
D:/GOPATH/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
C:/Program Files/Go/src/net/http/server.go:3301
net/http.(*conn).serve
C:/Program Files/Go/src/net/http/server.go:2102
[git.echol.cn/loser/ai_proxy/server]2026-02-27 23:42:35.929 error C:/Users/Administrator/GolandProjects/st-react/server/initialize/internal/gorm_logger_writer.go:32 C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm_pgsql_extension.go:42 ERROR: relation "ai_memory_vectors" does not exist (SQLSTATE 42P01)
[3.295ms] [rows:0]
CREATE INDEX IF NOT EXISTS idx_memory_vectors_embedding
ON ai_memory_vectors
USING hnsw (embedding vector_cosine_ops)
git.echol.cn/loser/ai_proxy/server/initialize/internal.(*Writer).Printf
C:/Users/Administrator/GolandProjects/st-react/server/initialize/internal/gorm_logger_writer.go:32
gorm.io/gorm/logger.(*logger).Trace
D:/GOPATH/pkg/mod/gorm.io/gorm@v1.25.12/logger/logger.go:167
gorm.io/gorm.(*processor).Execute
D:/GOPATH/pkg/mod/gorm.io/gorm@v1.25.12/callbacks.go:134
gorm.io/gorm.(*DB).Exec
D:/GOPATH/pkg/mod/gorm.io/gorm@v1.25.12/finisher_api.go:769
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm_pgsql_extension.go:42
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm.go:98
main.initializeSystem
C:/Users/Administrator/GolandProjects/st-react/server/main.go:49
main.main
C:/Users/Administrator/GolandProjects/st-react/server/main.go:32
runtime.main
C:/Program Files/Go/src/runtime/proc.go:283
[git.echol.cn/loser/ai_proxy/server]2026-02-27 23:42:35.930 error C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm_pgsql_extension.go:43 failed to create vector indexes {"error": "ERROR: relation \"ai_memory_vectors\" does not exist (SQLSTATE 42P01)"}
git.echol.cn/loser/ai_proxy/server/initialize.CreateVectorIndexes
C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm_pgsql_extension.go:43
git.echol.cn/loser/ai_proxy/server/initialize.RegisterTables
C:/Users/Administrator/GolandProjects/st-react/server/initialize/gorm.go:98
main.initializeSystem
C:/Users/Administrator/GolandProjects/st-react/server/main.go:49
main.main
C:/Users/Administrator/GolandProjects/st-react/server/main.go:32
runtime.main
C:/Program Files/Go/src/runtime/proc.go:283
[git.echol.cn/loser/ai_proxy/server]2026-02-27 23:43:01.769 error C:/Users/Administrator/GolandProjects/st-react/server/service/app/conversation.go:764 ========== [流式传输] AI返回错误 ==========
请求失败: Post "http://152.53.38.155:7788/v1/chat/completions": EOF
==========================================
git.echol.cn/loser/ai_proxy/server/service/app.(*ConversationService).SendMessageStream
C:/Users/Administrator/GolandProjects/st-react/server/service/app/conversation.go:764
git.echol.cn/loser/ai_proxy/server/api/v1/app.(*ConversationApi).SendMessageStream.func1
C:/Users/Administrator/GolandProjects/st-react/server/api/v1/app/conversation.go:349