Update main.py
Browse files
main.py
CHANGED
@@ -975,7 +975,9 @@ async def setup_agent(settings):
|
|
975 |
if chatProfile[1] == "ROMESKILLS" or chatProfile[1] == "ESCOSKILLS":
|
976 |
await construction_NCS(competenceList, chatProfile[1])
|
977 |
else:
|
978 |
-
|
|
|
|
|
979 |
|
980 |
contextChat = cl.user_session.get("contextChatBot")
|
981 |
if not contextChat:
|
|
|
975 |
if chatProfile[1] == "ROMESKILLS" or chatProfile[1] == "ESCOSKILLS":
|
976 |
await construction_NCS(competenceList, chatProfile[1])
|
977 |
else:
|
978 |
+
competenceArray = []
|
979 |
+
competenceArray.append(competenceList)
|
980 |
+
await creation_liste_entreprises(competenceArray)
|
981 |
|
982 |
contextChat = cl.user_session.get("contextChatBot")
|
983 |
if not contextChat:
|