fix: implement code review suggestions

Address all feedback from PR review:
- Lock granularity
- Empty response handling
- Shutdown race condition
- Interface naming
This commit is contained in:
Lixeer
2026-02-24 22:33:04 +08:00
parent 3d605a4f53
commit d09c64fcee
4 changed files with 26 additions and 21 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ type LLMProvider interface {
GetDefaultModel() string
}
type SessionProvider interface {
type StatefulProvider interface {
LLMProvider
Close()
}