bugfix
This commit is contained in:
parent
190883ace6
commit
fb4e1eac2c
@ -250,7 +250,8 @@ class IndustrialSkillEngine:
|
||||
skill_name = self.state["current_skill"]
|
||||
if skill_name not in self.registry:
|
||||
raise Exception(f"技能名{skill_name}未注册")
|
||||
|
||||
if context is None:
|
||||
context = self.registry[skill_name].content
|
||||
# 获取递归上下文
|
||||
context = await self._get_expanded_context(skill_name, user_prompt, context=context)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user