ai-agent-book 精选快照(<2MB 代码与文档,来自 github.com/bojieli/ai-agent-book)
Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s
Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
# Cursor Chat: ai-agent-book
|
||||
|
||||
## Metadata
|
||||
- **Project**: ai-agent-book
|
||||
- **Path**: `/Users/boj`
|
||||
- **Date**: 2025-09-30 20:38:47
|
||||
- **Session ID**: `7c76fd37-2561-4ffc-91bb-4e217d884dcf`
|
||||
|
||||
## Conversation
|
||||
|
||||
### 👤 You
|
||||
|
||||
perception-tools % python quickstart.py
|
||||
|
||||
================================================================================
|
||||
PERCEPTION TOOLS MCP SERVER - QUICKSTART
|
||||
================================================================================
|
||||
|
||||
📝 Test 1: Web Search
|
||||
--------------------------------------------------------------------------------
|
||||
INFO:root:🔍 Searching for: 'Python programming'
|
||||
INFO:root:✅ Found 3 results in 1.84s
|
||||
✅ Found 3 results
|
||||
First result: Programming in Python - Study.com Program in Python
|
||||
|
||||
|
||||
--
|
||||
show all results.
|
||||
|
||||
---
|
||||
|
||||
### 🤖 Cursor Assistant
|
||||
|
||||
I'll help you modify the quickstart script to display all search results. Let me first read the file to see the current implementation.
|
||||
|
||||
---
|
||||
|
||||
### 🤖 Cursor Assistant
|
||||
|
||||
I can see the issue. The script only displays the first result title. Let me modify it to show all search results:
|
||||
|
||||
---
|
||||
|
||||
### 🤖 Cursor Assistant
|
||||
|
||||
Perfect! I've updated the script to display all search results with their titles, URLs, and snippets. Now let me run it again so you can see the complete output:
|
||||
|
||||
---
|
||||
|
||||
### 🤖 Cursor Assistant
|
||||
|
||||
Perfect! Now you can see all 3 search results with complete information:
|
||||
|
||||
1. **Programming in Python - Study.com** - An online course offering
|
||||
2. **Expert Python Tutors** - A tutoring service
|
||||
3. **Welcome to Python.org** - The official Python website
|
||||
|
||||
Each result now shows the title, URL, and snippet. The script has been updated to loop through all search results and display them in a numbered format with full details.
|
||||
|
||||
---
|
||||
|
||||
|
||||
*Exported from [Cursor View](https://github.com/saharmor/cursor-view)*
|
||||
Reference in New Issue
Block a user