(chat database.Chat)
| 699 | } |
| 700 | |
| 701 | func (c *turnWorkspaceContext) setCurrentChat(chat database.Chat) { |
| 702 | c.chatStateMu.Lock() |
| 703 | *c.currentChat = chat |
| 704 | c.chatStateMu.Unlock() |
| 705 | } |
| 706 | |
| 707 | func (c *turnWorkspaceContext) currentChatSnapshot() database.Chat { |
| 708 | c.chatStateMu.Lock() |
no test coverage detected