Skip to content

Commit

Permalink
fix: most custom LLM now support JSON mode
Browse files Browse the repository at this point in the history
Before the JSON mode option was being removed from the call. Now it's kept.
  • Loading branch information
bakaburg1 committed May 2, 2024
1 parent 4b689ff commit f4df24c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions R/LLM_calls.R
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,6 @@ use_custom_llm <- function(
body$model = model
}

body$response_format <- NULL

# Prepare the request
httr::POST(
url = endpoint,
Expand Down

0 comments on commit f4df24c

Please # to comment.