remove ToolCall from GenerateResponse

This commit is contained in:
Michael Yang
2024-07-16 14:51:19 -07:00
parent 499e87c9ba
commit c279f96371
2 changed files with 0 additions and 8 deletions

View File

@@ -275,11 +275,6 @@ func (s *Server) GenerateHandler(c *gin.Context) {
}
r.Response = sb.String()
if toolCalls, ok := m.parseToolCalls(sb.String()); ok {
r.ToolCalls = toolCalls
r.Response = ""
}
c.JSON(http.StatusOK, r)
return
}