mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
fix: name only tools voice offers in its instructions
The voice instructions recommended aircraft_in_area, vessels_in_area and get_earthquakes, which voice no longer offers, and the docs said voice gets nearly every query. The instructions now name tools voice has and send aircraft, ship and hazard questions to analyst_query; a test keeps the instructions to tools the voice session lists.
This commit is contained in:
1 parent
33445aec73
commit
759d05db4e
3 files changed
+22
-3
No files matched your search
+5
-2
@@ -109,8 +109,11 @@ sending them.
|
||||
The voice session token endpoint takes its tool list as `realtime.tools`.
|
||||
`realtimeSessionTools(additional)` appends function tools to the app actions,
|
||||
skipping names an action already uses, so `next_satellite_pass` stays the
|
||||
action. The standalone server supplies every core query except
|
||||
`open_in_gods_eye_view`, since voice runs inside the app.
|
||||
action. The standalone server supplies the core queries that
|
||||
`src/tools/surfaces.js` offers on voice, which leaves out tools that answer
|
||||
with images, link to the app, or repeat what voice's app actions answer
|
||||
(aircraft, ships, earthquakes, fires, datacenters, dams and satellites
|
||||
overhead, which `analyst_query` covers).
|
||||
|
||||
In the browser, `initGevVoiceCommands({ toolCatalog })` takes a function that
|
||||
resolves a catalog. App action names go to the action runner; other names the
|
||||
|
||||
Reference in new issue
Block a user