Merge branch 'main' of github.com:fabianHueni/UNIBE_MSGAI_HS25_Project
Browse files- src/requestManager.js +1 -1
src/requestManager.js
CHANGED
|
@@ -172,7 +172,7 @@ export class RequestManager {
|
|
| 172 |
let full_prompt = job.prompt; // ensure string input
|
| 173 |
|
| 174 |
// this is a little workaround to disable the thinking mode in qwen models
|
| 175 |
-
if (service.getModelName().includes("Qwen3")) {
|
| 176 |
full_prompt = full_prompt + "/no_think";
|
| 177 |
}
|
| 178 |
|
|
|
|
| 172 |
let full_prompt = job.prompt; // ensure string input
|
| 173 |
|
| 174 |
// this is a little workaround to disable the thinking mode in qwen models
|
| 175 |
+
if (service && service.getModelName() && service.getModelName().includes("Qwen3")) {
|
| 176 |
full_prompt = full_prompt + "/no_think";
|
| 177 |
}
|
| 178 |
|