Error if RAG_OFFLINE_DOCS is configured to true
Welcome to use UFO🛸, A UI-focused Agent for Windows OS Interaction.
| | | || | / _ \ | | | || | | | | | | || || | | || | _/ |_| __/
Please enter your request to be completed🛸: 请提醒我每天学习 Round 1, Step 1, HostAgent: Analyzing the user intent and decomposing the request... { "Observation": "I observe that the Microsoft To Do application is visible in the screenshot, which is suitable for setting reminders. The application appears to be open and ready for use, allowing me to create a new task for the user.", "Thought": "The user request is to set a daily reminder for studying. This can be accomplished within the Microsoft To Do application. I will create a new task that specifies the reminder for daily study sessions.", "CurrentSubtask": "Add a task in Microsoft To Do to remind the user to study every day.", "Message": [ "(1) Please ensure that the task is set to repeat daily.", "(2) You may want to specify a time for the reminder if needed." ], "ControlLabel": "9", "ControlText": "Microsoft To Do", "Status": "ASSIGN", "Plan": [], "Bash": "", "Questions": [], "Comment": "I will proceed to add a daily study reminder in the Microsoft To Do application." } Observations👀: I observe that the Microsoft To Do application is visible in the screenshot, which is suitable for setting reminders. The application appears to be open and ready for use, allowing me to create a new task for the user. Thoughts💡: The user request is to set a daily reminder for studying. This can be accomplished within the Microsoft To Do application. I will create a new task that specifies the reminder for daily study sessions. Plans📚: (1) Add a task in Microsoft To Do to remind the user to study every day. Next Selected application📲: Microsoft To Do Messages to AppAgent📩: (1) Please ensure that the task is set to repeat daily. (2) You may want to specify a time for the reminder if needed. Status📊: ASSIGN Comment💬: I will proceed to add a daily study reminder in the Microsoft To Do application. 9.419333934783936 Loading offline help document indexer for Microsoft To Do... Creating an experience indexer... Creating an demonstration indexer... Round 1, Step 2, AppAgent: Completing the subtask [Add a task in Microsoft To Do to remind the user to study every day.] on application [Microsoft To Do]. Error Occurs at get_prompt_message Traceback (most recent call last): File "H:\LiProject\UFO - 副本\ufo\agents\processors\basic.py", line 196, in wrapper func(self, *args, **kwargs) File "H:\LiProject\UFO - 副本\ufo\agents\processors\basic.py", line 178, in wrapper result = func(self, *args, **kwargs) File "H:\LiProject\UFO - 副本\ufo\agents\processors\app_agent_processor.py", line 219, in get_prompt_message external_knowledge_prompt = self.app_agent.external_knowledge_prompt_helper( File "H:\LiProject\UFO - 副本\ufo\agents\agent\app_agent.py", line 225, in external_knowledge_prompt_helper [doc.metadata["text"] for doc in offline_docs], TypeError: 'NoneType' object is not iterable