docs: web_search 설명에 스펙 비교는 따로따로 검색하라는 지침 추가
실제 사고(2026-08-10): "RTX 3090 vs RTX 4080 Super memory bandwidth comparison" 결합형 쿼리는 일반 개요 페이지만 반환해 두 스펙 다 못 찾았는데, 같은 두 개를 "RTX 3090 memory bandwidth GB/s" / "RTX 4080 Super memory bandwidth GB/s"로 따로 검색하니 둘 다 바로 정답(936 vs 736 GB/s)이 나왔다. numeric-grounding 가드가 검증 안 된 936GB 언급을 정확히 잡아냈고 (가드 자체는 M40+Qwen3.6 조합처럼 실존하지 않는 벤치마크를 지어낸 과거 사고 두 건에 근거해 만들어졌고 이번에도 의도대로 작동했다 — 가드를 손보지 않기로 결정), 대신 근본 원인인 검색 쿼리 구성을 고치기로 했다. news_search/weather_openmeteo와 달리 web_search는 결정적으로 고칠 API 단서가 없는 일반 웹검색이라, 이번엔 도구 설명에 프롬프트 지침을 추가하는 선에서 대응한다 — 오늘 다른 사례들처럼 100% 신뢰할 수 있는 방식은 아니지만 비용이 거의 없다. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -164,7 +164,7 @@ export function createBuildTools(isOrchestrationSkillEnabled: () => boolean) {
|
||||
type: 'function',
|
||||
function: {
|
||||
name: 'web_search',
|
||||
description: 'Search the web for current information. Use web_fetch on result URLs to read full page content.',
|
||||
description: 'Search the web for current information. Use web_fetch on result URLs to read full page content. For a SPEC COMPARISON between two specific things (e.g. "RTX 3090 vs RTX 4080 Super memory bandwidth"), do NOT combine them into one "A vs B" query — search for each one\'s spec separately ("RTX 3090 memory bandwidth GB/s", then "RTX 4080 Super memory bandwidth GB/s"). Verified 2026-08-10: a combined comparison query returned only a generic overview page with neither figure, while the same two searched separately immediately returned the real numbers for both (936 GB/s vs 736 GB/s). "vs"/comparison phrasing tends to surface review/overview pages instead of the specific numbers a spec question needs.',
|
||||
parameters: {
|
||||
type: 'object', required: ['query'],
|
||||
properties: { query: { type: 'string', description: 'Search query' } },
|
||||
|
||||
Reference in New Issue
Block a user