revert: remove maxTokens update functionality from init
This functionality was out of scope for the Claude Code provider PR. The automatic updating of maxTokens values in config.json during initialization is a general improvement that should be in a separate PR. Additionally, Claude Code ignores maxTokens and temperature parameters anyway, making this change irrelevant for the Claude Code integration. Removed: - scripts/modules/update-config-tokens.js - Import and usage in scripts/init.js
This commit is contained in:
committed by
Ralph Khreish
parent
9995075093
commit
30b895be2c
@@ -28,7 +28,6 @@ import {
|
||||
convertAllRulesToProfileRules,
|
||||
getRulesProfile
|
||||
} from '../src/utils/rule-transformer.js';
|
||||
import { updateConfigMaxTokens } from './modules/update-config-tokens.js';
|
||||
|
||||
import { execSync } from 'child_process';
|
||||
import {
|
||||
@@ -508,14 +507,6 @@ function createProjectStructure(
|
||||
}
|
||||
);
|
||||
|
||||
// Update config.json with correct maxTokens values from supported-models.json
|
||||
const configPath = path.join(targetDir, TASKMASTER_CONFIG_FILE);
|
||||
if (updateConfigMaxTokens(configPath)) {
|
||||
log('info', 'Updated config with correct maxTokens values');
|
||||
} else {
|
||||
log('warn', 'Could not update maxTokens in config');
|
||||
}
|
||||
|
||||
// Copy .gitignore
|
||||
copyTemplateFile('gitignore', path.join(targetDir, GITIGNORE_FILE));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user