update
This commit is contained in:
+1
-1
@@ -1290,7 +1290,7 @@ try:
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(NODE_DISPLAY_NAME_MAPPINGS_V)
|
||||
|
||||
except Exception as e:
|
||||
logging.info('ChatGPT.available False')
|
||||
logging.info('ChatGPT.available False',e)
|
||||
|
||||
|
||||
try:
|
||||
|
||||
@@ -137,9 +137,12 @@ class LoadSocialProfileNode:
|
||||
CATEGORY = "♾️Mixlab/Agent"
|
||||
|
||||
def run(self,file_name):
|
||||
|
||||
# print("#read_from_json",os.path.join(agent_dir,file_name))
|
||||
social_profile=read_from_json(os.path.join(agent_dir,file_name))
|
||||
|
||||
if social_profile==None:
|
||||
social_profile=default_agent
|
||||
|
||||
social_profile['file_name']=file_name
|
||||
|
||||
# 将社交名片转换为JSON字符串
|
||||
|
||||
Reference in New Issue
Block a user