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

feat: add reasoning_budget parameter to params map #2211

Merged
merged 3 commits into from
Jun 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions engine/extensions/local-engine/local_engine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const std::unordered_map<std::string, std::string> kParamsMap = {
{"dynatemp_exponent", "--dynatemp-exp"},
{"ctx_len", "--ctx-size"},
{"ngl", "-ngl"},
{"reasoning_budget", "--reasoning-budget"},
};

int GenerateRandomInteger(int min, int max) {
Expand All @@ -50,6 +51,8 @@ int GenerateRandomInteger(int min, int max) {

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

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