mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-25 02:44:36 +00:00
server : allow requests larger than 8K (#4500)
This commit is contained in:
parent
5daa5f54fd
commit
62bd52b7bf
@ -10,7 +10,8 @@
|
|||||||
// crash the server in debug mode, otherwise send an http 500 error
|
// crash the server in debug mode, otherwise send an http 500 error
|
||||||
#define CPPHTTPLIB_NO_EXCEPTIONS 1
|
#define CPPHTTPLIB_NO_EXCEPTIONS 1
|
||||||
#endif
|
#endif
|
||||||
|
// increase max payload length to allow use of larger context size
|
||||||
|
#define CPPHTTPLIB_FORM_URL_ENCODED_PAYLOAD_MAX_LENGTH 1048576
|
||||||
#include "httplib.h"
|
#include "httplib.h"
|
||||||
#include "json.hpp"
|
#include "json.hpp"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user