3v324v23 commited on
Commit
0389c2d
·
1 Parent(s): d507933

Increase max_tokens to 700 and adjust temperature to 0.5 for educational tutor balance

Browse files
Files changed (1) hide show
  1. backend/main.py +2 -2
backend/main.py CHANGED
@@ -122,8 +122,8 @@ def run_flow_b(message: str, api_key: str, history: Optional[List[ChatMessage]]
122
  llm = ChatGoogleGenerativeAI(
123
  model="gemini-3.1-flash-lite",
124
  google_api_key=api_key,
125
- temperature=0.4,
126
- max_tokens=350,
127
  generation_config={"response_mime_type": "application/json"}
128
  )
129
 
 
122
  llm = ChatGoogleGenerativeAI(
123
  model="gemini-3.1-flash-lite",
124
  google_api_key=api_key,
125
+ temperature=0.5,
126
+ max_tokens=700,
127
  generation_config={"response_mime_type": "application/json"}
128
  )
129