Skip to content

Conversation

@muverystrong
Copy link
Collaborator

No description provided.

private BatchService bs;

@Autowired
@Lazy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

使用 lazy的原因是?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

openaiservice也是在BellaAutoConf中实例化的,在@PostConstruct的时候,还没有实例化完成,拿不到,所以通过@lazy在使用的时候获取。

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

师兄,我修正了一个版本,你看看。

@muverystrong muverystrong force-pushed the feat/switch_to_openaiservice branch from 3880c84 to 03e399f Compare December 3, 2025 06:05
@muverystrong muverystrong force-pushed the feat/switch_to_openaiservice branch from 03e399f to 714f8d2 Compare December 3, 2025 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants