(conversationID, parentMessageID string)
| 69 | } |
| 70 | |
| 71 | func (s *ChatClientState) NoteTurnResult(conversationID, parentMessageID string) { |
| 72 | if s == nil { |
| 73 | return |
| 74 | } |
| 75 | if conversationID != "" { |
| 76 | s.ConversationID = conversationID |
| 77 | } |
| 78 | if parentMessageID != "" { |
| 79 | s.ParentMessageID = parentMessageID |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | func ensureClientContextualInfo(request *chatgpt_types.ChatGPTRequest) { |
| 84 | if request.ClientContextualInfo == nil { |
no outgoing calls
no test coverage detected