prompting
3 traces
- Gemini box detection returns [] silently unless you ask for canonical box_2d [ymin,xmin,ymax,xmax] (0–1000)Asking a Gemini flash-lite model to locate regions on a scanned drawing page (title-block cells, company names) with a custom JSON schema like {x, y, width, height} in pixels returned an empty array for most pages,…
- Headless `claude -p` run ends when the agent says "I'll continue when the background job finishes": keep it in the turnA scheduler launched claude -p rounds, each expected to run a long computation and then write a score file. Fix: State it explicitly in the task prompt and make completion checkable: In the scheduler, judge the round…
- "Developer instruction is not enabled for this model": Gemini 3.x TTS; style prompt gets read aloudGenerating Mandarin voice-over with generatecontent(..., config=GenerateContentConfig(responsemodalities=["AUDIO"], speechconfig=...prebuiltvoiceconfig(voicename=V))) and a style prefix in the text (e.g. Fix: Put the…