Spaces:
Paused
Paused
Update server.js
Browse files
server.js
CHANGED
|
@@ -352,9 +352,9 @@ const server = http.createServer(async (req, res) => {
|
|
| 352 |
const systemPrompt = buildSystemPrompt(promptType);
|
| 353 |
|
| 354 |
// Decide token budget
|
| 355 |
-
const totalTokens = promptType === 'coding' ?
|
| 356 |
-
: promptType === 'identity' ?
|
| 357 |
-
:
|
| 358 |
|
| 359 |
// Resume or new job
|
| 360 |
const jobId = resumeJobId && jobs.has(resumeJobId) ? resumeJobId : generateId();
|
|
|
|
| 352 |
const systemPrompt = buildSystemPrompt(promptType);
|
| 353 |
|
| 354 |
// Decide token budget
|
| 355 |
+
const totalTokens = promptType === 'coding' ? 50
|
| 356 |
+
: promptType === 'identity' ? 10
|
| 357 |
+
: 20;
|
| 358 |
|
| 359 |
// Resume or new job
|
| 360 |
const jobId = resumeJobId && jobs.has(resumeJobId) ? resumeJobId : generateId();
|