mirror of
https://github.com/run-llama/create-llama.git
synced 2026-07-15 13:15:42 -04:00
"/api/chat" returns a different result compared to "/api/chat/request" #115
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @foxgem on GitHub (Jan 18, 2025).
When a request was sent on the FastAPI swagger ui page, for the same message,
/api/chat/requestcould return an expected result./api/chatcould not, the response was:After checking the output on the console, I found it was actually the same as the first part of the log messages from
/api/chat/request. The following was the log when calling/api/chat/request:Looks like the streaming interface returned the earlier, not waiting for the final result of the user query?
Thanks