Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit aab3586

Browse files
authored
feat: add reasoning_budget parameter to params map (#2211)
1 parent 9e87efc commit aab3586

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

engine/extensions/local-engine/local_engine.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ const std::unordered_map<std::string, std::string> kParamsMap = {
3737
{"dynatemp_exponent", "--dynatemp-exp"},
3838
{"ctx_len", "--ctx-size"},
3939
{"ngl", "-ngl"},
40+
{"reasoning_budget", "--reasoning-budget"},
4041
};
4142

4243
int GenerateRandomInteger(int min, int max) {
@@ -50,6 +51,8 @@ int GenerateRandomInteger(int min, int max) {
5051

5152
std::vector<std::string> ConvertJsonToParamsVector(const Json::Value& root) {
5253
std::vector<std::string> res;
54+
std::string errors;
55+
res.push_back("--no-webui");
5356

5457
for (const auto& member : root.getMemberNames()) {
5558
if (member == "model_path" || member == "llama_model_path") {

0 commit comments

Comments
 (0)