From d0057393b2246bd6fe1a5d2c04ec065dacff2efb Mon Sep 17 00:00:00 2001 From: James Wade Date: Sat, 30 Mar 2024 14:20:19 -0400 Subject: [PATCH] fix cohere --- R/stream-cohere.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/stream-cohere.R b/R/stream-cohere.R index 0a52f2b..48b8ee8 100644 --- a/R/stream-cohere.R +++ b/R/stream-cohere.R @@ -1,5 +1,5 @@ stream_chat_cohere <- function(prompt, - model = "command"), + model = "command", element_callback = create_handler("cohere"), key = Sys.getenv("COHERE_API_KEY")) { request_body <- list(