(title string)
| 6433 | } |
| 6434 | |
| 6435 | func (t *generatedChatTitle) Store(title string) { |
| 6436 | if t == nil || title == "" { |
| 6437 | return |
| 6438 | } |
| 6439 | |
| 6440 | t.mu.Lock() |
| 6441 | t.title = title |
| 6442 | t.mu.Unlock() |
| 6443 | } |
| 6444 | |
| 6445 | func (t *generatedChatTitle) Load() (string, bool) { |
| 6446 | if t == nil { |