Skip to content

Commit bef742b

Browse files
committed
test(prompt): update prompt unit test
1 parent 0c8706e commit bef742b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

utils/prompts/index.test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,12 @@ this is inner2 content
167167
- Consider the current page content to find complementary information
168168
- Do not include explanations, just the keywords
169169
170-
2. chat: Continue the conversation with the user if you have enough information from the current page content to answer their question.
170+
2. chat: Continue the conversation with the user in ALL other cases, including:
171+
- Analyzing, summarizing, or discussing content from PDFs, web pages, or images
172+
- Answering questions based on available content
173+
- Providing explanations or insights about existing materials
174+
- Creative tasks, coding, problem-solving
175+
- General conversation that doesn't require new external information
171176
172177
Example response for search_online:
173178
{"action":"search_online","queryKeywords":["climate news","paris agreement","emissions data"]}

0 commit comments

Comments
 (0)