aittalam commited on
Commit
2444451
·
verified ·
1 Parent(s): 28a12c8

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +6 -6
index.html CHANGED
@@ -251,7 +251,7 @@
251
  <div class="server-presets">
252
  <small>Quick presets:</small>
253
  <button onclick="setOllamaDefaults()">Ollama</button>
254
- <button onclick="setLLMStudioDefaults()">LLM Studio</button>
255
  </div>
256
  </div>
257
 
@@ -303,10 +303,10 @@
303
  document.getElementById('modelName').value = 'qwen3:8b';
304
  }
305
 
306
- function setLLMStudioDefaults() {
307
  document.getElementById('baseUrl').value = 'http://localhost:1234/v1';
308
- document.getElementById('apiKey').value = 'llmstudio';
309
- document.getElementById('modelName').value = 'qwen/qwen3-8b';
310
  }
311
 
312
 
@@ -498,7 +498,7 @@ async def test_agent():
498
  openai_client=external_client,
499
  ),
500
  model_settings=ModelSettings(
501
- extra_args={"timeout": 60}
502
  )
503
  )
504
  print(f"Agent created: {agent}")
@@ -506,7 +506,7 @@ async def test_agent():
506
 
507
  # Run the agent
508
  print("Running agent...")
509
- result = await Runner.run(agent, """${prompt.replace(/"/g, '\\"')}""")
510
  print(f"Agent run completed!")
511
  print(f"Result type: {type(result)}")
512
  print(f"Result: {result}")
 
251
  <div class="server-presets">
252
  <small>Quick presets:</small>
253
  <button onclick="setOllamaDefaults()">Ollama</button>
254
+ <button onclick="setLMStudioDefaults()">LM Studio</button>
255
  </div>
256
  </div>
257
 
 
303
  document.getElementById('modelName').value = 'qwen3:8b';
304
  }
305
 
306
+ function setLMStudioDefaults() {
307
  document.getElementById('baseUrl').value = 'http://localhost:1234/v1';
308
+ document.getElementById('apiKey').value = 'lmstudio';
309
+ document.getElementById('modelName').value = 'deepseek/deepseek-r1-0528-qwen3-8b';
310
  }
311
 
312
 
 
498
  openai_client=external_client,
499
  ),
500
  model_settings=ModelSettings(
501
+ extra_args={"timeout": 90}
502
  )
503
  )
504
  print(f"Agent created: {agent}")
 
506
 
507
  # Run the agent
508
  print("Running agent...")
509
+ result = await Runner.run(agent, """${prompt.replace(/"/g, '\\"')}""", max_turns=20)
510
  print(f"Agent run completed!")
511
  print(f"Result type: {type(result)}")
512
  print(f"Result: {result}")