mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 06:30:10 +08:00
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:
parent
7a23386de4
commit
bd6d6bd56e
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user