👨‍💻 dev LGCore upgrade for AI hormones

development

owly

闇の伝説
Staff member
戦闘 コーダー
attribs:
Python:
        self._isThinking: bool = False
        self._awareSkills: list[Skill] = []  # self awareness skills. Chobit Object in their c'tor

addSkill, :
Python:
        if self._isThinking:
            return self
addSkills, removeSkills, *clearSkills
Python:
        if self._isThinking:
            return

Python:
    def addSkillAware(self, skill: Skill) -> Chobits:
        # add a skill with Chobit Object in their c'tor
        skill.setKokoro(self._kokoro)
        self._awareSkills.append(skill)
        return self

think:
Python:
    def think(self, ear: str, skin: str, eye: str) -> str:
        # main skill loop
        self._isThinking = True
        for dCls in self._dClasses:
            self.inOut(dCls, ear, skin, eye)
        self._isThinking = False
        # loop for skills with access to the Chobit Object:
        for dCls2 in self._awareSkills:
            self.inOut(dCls2, ear, skin, eye)
        self._fusion.loadAlgs(self._noiron)
        return self._fusion.runAlgs(ear, skin, eye)
 
Last edited:
Top