mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-13 10:19:08 +02:00
revert some excessive changes
This commit is contained in:
@@ -785,7 +785,7 @@ void server_http_context::register_gcp_compat() const {
|
||||
|
||||
try {
|
||||
json payload = instance;
|
||||
const std::string format = payload.at("@requestFormat");
|
||||
const std::string format = payload.at("@requestFormat").get<std::string>();
|
||||
payload.erase("@requestFormat");
|
||||
|
||||
if (payload.contains("stream")) {
|
||||
|
||||
Reference in New Issue
Block a user