fix: request new question now get session
This commit is contained in:
parent
bb489ee5da
commit
0f837f997b
@ -38,8 +38,10 @@ func (client *AIClient) SendAnswerer(final bool, tipe, message, session string)
|
|||||||
Title string `json:"title"`
|
Title string `json:"title"`
|
||||||
Text string `json:"text"`
|
Text string `json:"text"`
|
||||||
Final bool `json:"is_final"`
|
Final bool `json:"is_final"`
|
||||||
|
Session string `json:"string"`
|
||||||
}{
|
}{
|
||||||
Text: message,
|
Text: message,
|
||||||
|
Session: session,
|
||||||
}
|
}
|
||||||
|
|
||||||
body, err := json.Marshal(clownRequest)
|
body, err := json.Marshal(clownRequest)
|
||||||
|
Loading…
Reference in New Issue
Block a user