mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-15 15:52:21 +00:00
test(voice): raise the Realtime prompt budget to 53,000 for show_street_level
Main's prompt sits 28 characters under the 52,000 ceiling, and the street-level tool needs 337 even with no descriptions. Kept as its own commit so the budget decision can be reverted on its own.
This commit is contained in:
1 parent
ed2703d345
commit
fcf240e789
1 file changed
+4
-2
@@ -343,9 +343,11 @@ test('deixis prompt lint: one short rule, and every sentinel it names exists in
|
|||||||
// Budget: the whole Realtime prompt (instructions + tools), measured in
|
// Budget: the whole Realtime prompt (instructions + tools), measured in
|
||||||
// characters. It was 56,308 after the area/imagery/OSM merge; stating each
|
// characters. It was 56,308 after the area/imagery/OSM merge; stating each
|
||||||
// policy once (WHERE precedence, AREAS routing, AFTER TOOLS speech) brought
|
// 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.
|
// 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.
|
||||||
const size = instructions.length + JSON.stringify(GEV_REALTIME_TOOLS).length;
|
const size = instructions.length + JSON.stringify(GEV_REALTIME_TOOLS).length;
|
||||||
assert.ok(size <= 52000, `prompt size ${size}`);
|
assert.ok(size <= 53000, `prompt size ${size}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user