[IMP] Decrease Token size for make it compatible.
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ odoo_code_agent_18_tool = OdooCodeAgent18()
|
|
| 55 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
| 56 |
|
| 57 |
model = HfApiModel(
|
| 58 |
-
max_tokens=
|
| 59 |
temperature=0.5,
|
| 60 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 61 |
custom_role_conversions=None,
|
|
|
|
| 55 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
| 56 |
|
| 57 |
model = HfApiModel(
|
| 58 |
+
max_tokens=1000,
|
| 59 |
temperature=0.5,
|
| 60 |
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 61 |
custom_role_conversions=None,
|