feat: Gemini Grounding 검색 + 캐시/Scout/UX 개선#99
Merged
Conversation
3개 와이어링 포인트 교체 (server.py, main.py, graph_studio.py). ddgs 의존성 제거, google-genai 명시적 추가. Closes #89
route_after_scout: done=True → cache_store 경유 후 report. cache_store: route_map or plan 중 하나만 있어도 저장. CachedScenario: route_map/plan optional로 변경. Closes #90
astream이 노드 완료 후 yield하므로 서버에서 prev_node_end를 추적하여 NodeStart/NodeEnd에 실제 시각 설정. 클라이언트는 서버 timestamp 사용. Closes #91
💾 Cache / 🔄 Fresh 토글로 캐시 사용 여부 제어. RunMessageData.use_cache → AgentState.use_cache → cache_lookup/store에서 체크. Closes #94
LLM 어댑터/서비스에서 Gemini provider 호환 수정. 테스트에 AgentState.use_cache 기본값 추가.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DuckDuckGo Search를 Gemini Grounding API로 교체하고, 캐시/Scout/Extension UX를 전면 개선한 PR입니다.
Changes
Research — Gemini Grounding (#89, #96)
GeminiGroundingAdapter신규 구현 (ResearchPort 준수)ResearchSettings설정 추가 (RESEARCH_MODEL_NAME환경변수)Cache (#90, #94)
cache_store노드 미실행 문제 수정 (route_after_scout→cache_store경유)cache_store조건 수정 (or→and) +CachedScenario필드 optional 변경RunMessageData.use_cache→AgentState.use_cache→ cache_lookup/store에서 체크Node Duration (#91)
astream이 노드 완료 후 yield하는 문제 해결prev_node_end추적하여 NodeStart/NodeEnd에 실제 시각 설정Date.now()→parseServerTimestamp)Scout (#95, #97)
Extension UX (#92, #93)
NODE_INFO에 cache_lookup/cache_store/report 라벨 + 아이콘 추가Test Results
Closes
#89, #90, #91, #92, #93, #94, #95, #96, #97