Skip to content

Commit 044618e

Browse files
committed
revert endpoint change
Signed-off-by: Aminu Oluwaseun Joshua <[email protected]>
1 parent d5a2f4a commit 044618e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/llm-remote-http/src/open_ai.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl LlmWorker for OpenAIAgentEngine {
5050

5151
let chat_url = self
5252
.url
53-
.join("/api/generate")
53+
.join("/v1/chat/completions")
5454
.map_err(|_| wasi_llm::Error::RuntimeError("Failed to create URL".to_string()))?;
5555

5656
tracing::info!("Sending remote inference request to {chat_url}");

0 commit comments

Comments
 (0)