jordaneh
09/25/2025, 3:32 PMclient<llm> Imagen4JSON {
provider "openai-generic"
retry_policy Exponential
options {
base_url "https://openrouter.ai/api/v1"
api_key env.OPENROUTER_API_KEY
model "google/gemini-2.5-flash"
max_tokens 480 /
That's not quite what I want as there may be chain of thought etc before, but the final output schema i'd like a certain number of tokens.Vaibhav (BAML 🐑)
09/25/2025, 3:38 PMVaibhav (BAML 🐑)
09/25/2025, 3:38 PMVaibhav (BAML 🐑)
09/25/2025, 3:38 PMVaibhav (BAML 🐑)
09/25/2025, 3:38 PMVaibhav (BAML 🐑)
09/25/2025, 3:39 PMjordaneh
09/25/2025, 3:43 PMVaibhav (BAML 🐑)
09/25/2025, 3:46 PMjordaneh
09/25/2025, 3:47 PMVaibhav (BAML 🐑)
09/25/2025, 3:49 PMVaibhav (BAML 🐑)
09/25/2025, 3:49 PMjordaneh
09/25/2025, 3:51 PM