Akjava commited on
Commit
8b2a530
·
verified ·
1 Parent(s): 3cfcc42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -198,13 +198,13 @@ model = LiteLLMModel(
198
  "llama-3.3-70b-versatile",
199
  api_base="https://api.groq.com/openai/v1",
200
  custom_role_conversions=custom_role_conversions,
201
- max_completion_tokens=2000,
202
  api_key=os.getenv("OPENAI_API_KEY")#Groq API
203
  )
204
  model._flatten_messages_as_text = True
205
 
206
 
207
- text_limit = 4000
208
  ti_tool = TextInspectorTool(model, text_limit)
209
 
210
  browser = SimpleTextBrowser(**BROWSER_CONFIG)
 
198
  "llama-3.3-70b-versatile",
199
  api_base="https://api.groq.com/openai/v1",
200
  custom_role_conversions=custom_role_conversions,
201
+ max_completion_tokens=500,
202
  api_key=os.getenv("OPENAI_API_KEY")#Groq API
203
  )
204
  model._flatten_messages_as_text = True
205
 
206
 
207
+ text_limit = 1000
208
  ti_tool = TextInspectorTool(model, text_limit)
209
 
210
  browser = SimpleTextBrowser(**BROWSER_CONFIG)