mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-20 15:10:59 +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
|
const config = req.body
|
||||||
logger.info('Initializing claude-code provider with config', config)
|
logger.info('Initializing claude-code provider with config', config)
|
||||||
|
|
||||||
this.claudeCodeProvider = createClaudeCode(config)
|
this.claudeCodeProvider = createClaudeCode()
|
||||||
|
|
||||||
res.json({
|
res.json({
|
||||||
success: true,
|
success: true,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user