Fit the tilt wording under the Realtime prompt ceiling

With main merged, the Overpass prompt measured 55,549 against the 55,500 ceiling. The pitchDeg and direction descriptions now read 'Absolute; -89 top-down.' and 'Needed for pan/rotate/tilt steps', bringing it to 55,497. The schema pin and the measured-size note follow.
This commit is contained in:
Sameh Khamis committed 2026-11-05 15:38:32 -08:00
1 parent 8687512fc8
commit 395eba4548
4 files changed
+10 -10

No files matched your search

+3 -3
View File
@@ -232,14 +232,14 @@ test('no unchanged Realtime tool definition drifts silently', () => {
camera.description,
'Direct the camera like a drone operator: orbit the current view target, pan, tilt, or rotate — one bounded nudge (mode=once) or continuous motion until stopped (mode=continuous). Continuous motion also stops on any manual camera input or when a navigation tool runs. Say the RESULTING state when confirming ("Orbiting slowly"). Globe rotation (rotate_globe) spins Earth right continuously by default; explicit direction, mode and speed take precedence. It checks fit and may refuse.',
);
// Tilt to an angle adds pitchDeg and says a tilt nudge needs a
// Tilt to an angle adds an absolute pitchDeg and says tilt steps need a
// direction; check them, then restore the legacy fields for the pin.
assert.equal(
camera.parameters.properties.direction.description,
'Required for pan/rotate and a tilt nudge; orbit/rotate_globe default right.',
'Needed for pan/rotate/tilt steps; orbit/rotate_globe default right.',
);
assert.equal(camera.parameters.properties.pitchDeg.type, 'number');
assert.match(camera.parameters.properties.pitchDeg.description, /-45 oblique/);
assert.match(camera.parameters.properties.pitchDeg.description, /^Absolute;/);
delete camera.parameters.properties.pitchDeg;
assert.equal(camera.parameters.properties.mode.description, 'once = bounded eased nudge; continuous = until stop/manual input. rotate_globe defaults continuous; other motions default once.');
camera.parameters.properties.mode.description = 'once = bounded eased nudge (default); continuous = until stop/manual input.';