mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Merge upstream main (voice geometry: resolve_area, find_imagery, osm_query) into pr/street-level-show-action
This commit is contained in:
commit
34f694c6f2
138 files changed
+17718
-1136
No files matched your search
@@ -343,11 +343,15 @@ test('deixis prompt lint: one short rule, and every sentinel it names exists in
|
||||
// Budget: the whole Realtime prompt (instructions + tools), measured in
|
||||
// characters. It was 56,308 after the area/imagery/OSM merge; stating each
|
||||
// policy once (WHERE precedence, AREAS routing, AFTER TOOLS speech) brought
|
||||
// it to 51,646. A new tool or rule has to fit under this ceiling. Raised
|
||||
// to 53,000 for show_street_level: globe rotation left 28 characters, and
|
||||
// the street-level tool alone needs 337 with no descriptions at all.
|
||||
// it to 51,646. Voice geometry (resolve_area, find_imagery, osm_query and
|
||||
// the analyst area scopes) raised the ceiling to 55,500; tightening the
|
||||
// AREAS rule and the area tool descriptions left it at 55,103 as measured
|
||||
// below (every tool, osm_query included); main's Sea Marks and Ski Pistes
|
||||
// layers bring it to 55,210, ~290 under. show_street_level (the tool and
|
||||
// its routing rule, ~940) raises it to 56,500. A new tool or rule has to
|
||||
// fit under this ceiling.
|
||||
const size = instructions.length + JSON.stringify(GEV_REALTIME_TOOLS).length;
|
||||
assert.ok(size <= 53000, `prompt size ${size}`);
|
||||
assert.ok(size <= 56_500, `prompt size ${size}`);
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user