From 5d6911171ced7cc864bf3dbe64fd7d9047b45211 Mon Sep 17 00:00:00 2001 From: jpcompartir Date: Tue, 27 Jan 2026 12:14:06 +0000 Subject: [PATCH] Catch bug in ant_complete_text whereby system_prompt was not fed to the request builder, caught by Ben --- R/anthropic_messages.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/R/anthropic_messages.R b/R/anthropic_messages.R index 8d1ab7c..1e69255 100644 --- a/R/anthropic_messages.R +++ b/R/anthropic_messages.R @@ -236,7 +236,8 @@ ant_complete_text <- function(text, max_tokens = max_tokens, endpoint_url = endpoint_url, max_retries = max_retries, - timeout = timeout + timeout = timeout, + system_prompt = system_prompt ) tryCatch({ @@ -278,6 +279,7 @@ ant_complete_text <- function(text, return(content) } + # ant_complete_text ---- # ant_complete_chunks ----