RohitChandramouli6618 commited on
Commit
ddcd303
·
1 Parent(s): 51aed89

Reduce max_tokens 120→60 — agent uses ~32 tokens, no content affected

Browse files
Files changed (1) hide show
  1. baseline/policy.py +1 -1
baseline/policy.py CHANGED
@@ -142,7 +142,7 @@ def call_llm(prompt: str, client: OpenAI) -> str:
142
  },
143
  {"role": "user", "content": prompt}
144
  ],
145
- max_tokens = 120, # increased to allow brief reasoning + JSON
146
  temperature = 0.1,
147
  )
148
  return (response.choices[0].message.content or "").strip()
 
142
  },
143
  {"role": "user", "content": prompt}
144
  ],
145
+ max_tokens = 60, # increased to allow brief reasoning + JSON
146
  temperature = 0.1,
147
  )
148
  return (response.choices[0].message.content or "").strip()