diff --git a/Request.go b/Request.go index 3f16d07..07e42e0 100644 --- a/Request.go +++ b/Request.go @@ -24,7 +24,7 @@ func GeneratePlaceholderHandler(c *fiber.Ctx) error { // Step 1 I create a User message and send it as output with a placeholder // that will make a request to GenerateMultipleMessagesHandler when loading message := c.FormValue("message", "") - selectedLLMIds := []string{"1e5a07c4-12fe-11ef-8da6-67d29b408c53"} // TODO Hanle in the UI + selectedLLMIds := []string{"1e5a07c4-12fe-11ef-8da6-67d29b408c53", "3cd15ca8-1433-11ef-9f22-93f2b78c78de"} // TODO Hanle in the UI var selectedLLMs []LLM var selectedLLM LLM @@ -140,7 +140,7 @@ func GenerateMultipleMessagesHandler(c *fiber.Ctx) error { templateMessage := TemplateMessage{ Icon: message.LLM.Model.Company.Icon, - Content: markdownToHTML(message.Content), + Content: message.Content, Hidden: false, Id: message.ID.String(), Name: message.LLM.Model.Name, @@ -157,16 +157,6 @@ func GenerateMultipleMessagesHandler(c *fiber.Ctx) error { select { case firstDone <- idx: // Generate the HTML content - outContent := "
" - outContent += " " outBtn, err := selectBtnTmpl.Execute(map[string]interface{}{ "message": templateMessage, @@ -178,12 +168,12 @@ func GenerateMultipleMessagesHandler(c *fiber.Ctx) error { } outBtn = strings.ReplaceAll(outBtn, "\n", "") - outIcon := `