Increase max_tokens to 700 and adjust temperature to 0.5 for educational tutor balance
Browse files- 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.
|
| 126 |
-
max_tokens=
|
| 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 |
|