Skip to content

Add agentic Gemini image inspection#135

Merged
suguanYang merged 1 commit into
stagingfrom
fix/wangbinqi/agentic-gemini-image-inspection
Jul 6, 2026
Merged

Add agentic Gemini image inspection#135
suguanYang merged 1 commit into
stagingfrom
fix/wangbinqi/agentic-gemini-image-inspection

Conversation

@suguanYang

Copy link
Copy Markdown
Contributor

Summary

  • add an agentic inspectImage tool for retrieved Knowhere image asset refs
  • harden retrieved image assets through Notebook storage before Gemini inspection
  • send hardened image bytes to Gemini with AI SDK multimodal image parts and keep raw Knowhere URLs out of model inputs
  • support remote/default page citation assets via document revision keys

Verification

  • pnpm test src/agent-harness/ledger.test.ts src/agent-harness/runtime.test.ts src/domains/chat/index.test.ts src/domains/chat/route-service.test.ts
  • pnpm typecheck
  • pnpm lint
  • live POST /api/chat for 承包人自行修改发包人审批的进度时需要赔偿多少违约金? returned 50,000 元/次 with image inspection response logs

@vercel

vercel Bot commented Jul 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
knowhere-notebook-staging Ready Ready Preview, Comment Jul 6, 2026 8:12am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
knowhere-notebook Ignored Ignored Jul 6, 2026 8:12am

Request Review

@suguanYang
suguanYang merged commit a34352d into staging Jul 6, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant