refactor: update ClaudeCodeService initialization to remove config parameter

- Modified the initialization of the Claude code provider in ClaudeCodeService to no longer accept a configuration parameter, simplifying the setup process.
- This change enhances clarity and reduces potential configuration errors during provider instantiation.
This commit is contained in:
MyPrototypeWhat 2025-09-04 17:37:10 +08:00
parent 7a23386de4
commit bd6d6bd56e

View File

@ -35,7 +35,7 @@ export class ClaudeCodeService {
const config = req.body
logger.info('Initializing claude-code provider with config', config)
this.claudeCodeProvider = createClaudeCode(config)
this.claudeCodeProvider = createClaudeCode()
res.json({
success: true,