MAPS 블록 주석 갱신 — 10-14부터 국내는 카카오맵 링크인데 주석은 여전히 구글 지도라고 적혀 있었음(주석만)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
kimandClaude Opus 5.5 committed 2026-10-23 14:49:48 +09:00
1 parent 32557bcd1c
commit 83d30786d9
1 file changed
+5 -7
+5 -7
View File
@@ -219,13 +219,11 @@ export function buildChatSystemPrompt(input: SystemPromptInput): string {
.test(String(input.message || ''))
? '\nCHEMISTRY NOTATION: Do not draw molecular structures as ASCII art (H/C/#/=/\\\\/| characters arranged to look like a diagram) — it always renders as garbled, misaligned text. Instead: for a formula or reaction, use LaTeX inside $...$ (e.g. $\\\\ce{C4H10}$, $\\\\ce{2H2 + O2 -> 2H2O}$ — mhchem extension is loaded). For an actual 2D structure with real bond lines (rings, branches), output a ```smiles``` code block containing the SMILES string (e.g. ```smiles\\nc1ccccc1\\n``` for benzene, ```smiles\\nCC(=O)Oc1ccccc1C(=O)O\\n``` for aspirin) — the client automatically renders it as a proper 2D diagram with bond lines.'
: '';
// MAPS: same message-gated exception as CHEMISTRY NOTATION — it constrains output FORMAT
// (emit a Google Maps URL on its own line so markdown.js renders it as an inline map iframe,
// web-ui/js/app/markdown.js §"Google Maps URLs on their own line"), there is no tool to key
// on, and a missed keyword costs one absent map, not an unguarded tool call. The embed is
// keyless (maps.google.com/maps?q=...&output=embed) so nothing needs configuring. markdown.js
// only converts /maps/search/ and /maps/place/ forms — do NOT promise route rendering here,
// /maps/dir/ is not embedded.
// MAPS: same message-gated exception as CHEMISTRY NOTATION — it constrains output FORMAT (a map URL on its own
// line, which markdown.js renders as an inline map iframe), there is no tool to key on, and a missed keyword costs
// one absent map, not an unguarded tool call. 2026-10-14부터 국내는 카카오맵 링크(map.kakao.com/link/map|search,
// 키 불필요), 해외만 구글. 모델이 국내 지명에 구글 URL을 내도 markdown.js가 카카오 검색으로 바꿔 띄운다.
// 경로(길찾기) 지도는 삽입되지 않으니 여기서 약속하지 않는다 — 운전 경로는 route_search의 링크.
// place_search(카카오맵)가 있을 때: 장소 주소·전화·거리는 도구로 찾는다. 기억으로 주소를 짓지 않는다.
const placeSearchRuleBlock = toolNames.has('place_search')
? '\nPLACE SEARCH: For a specific place, business, or "near X" request in Korea (restaurants, pharmacies, stations, an address or phone number), call place_search FIRST and answer from its results — never write an address or phone number from memory. Default reference point is 구미시; pass location for another area. Put the 카카오맵 `지도:` URL from the result for the top place on its own line so it renders as an inline map, and mention the others by name. Opening hours are not in the result: point to its 상세 link instead of guessing.'