fix(voice): offer typed chat the same Overpass tools as voice

Main now offers osm_query, and names it in the prompt, only when Overpass
is configured. Typed chat follows the same switch on both providers: its
prompt, the tools it offers and the calls it accepts.
This commit is contained in:
manjunath22466 committed 2026-11-04 00:17:54 +05:30
1 parent fe78b3ebc9
commit 39165bb199
4 files changed
+59 -13

No files matched your search

+3 -2
View File
@@ -15,8 +15,9 @@ export const TEXT_WORDING = Object.freeze([
// Shared-manual adaptation follows Darren Dignam's GEV COMMAND approach (#976).
// Keep our Radio handoff and annotation outcome policies from the shared manual.
export function textInstructions(annotationGuidance) {
return realtimeDirectives(annotationGuidance)
// `options.overpass` matches the tools offered, as for voice.
export function textInstructions(annotationGuidance, options) {
return realtimeDirectives(annotationGuidance, options)
.map((line, index) => {
if (index === 0)
return "You are GEV Chat, a concise text assistant for a Cesium geospatial app called God's Eye View.";