Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

8.1 启动项目

uvicorn app.main:app --reload

8.2 测试Agent能力

场景1:简单计算

Invoke-RestMethod -Method POST `
  -Uri "http://localhost:8000/api/v1/agent/invoke" `
  -Headers @{ "Content-Type" = "application/json" } `
  -Body '{"query": "计算一下 15 * (23 + 17) 等于多少?"}'

场景2:复合任务

Invoke-RestMethod -Method POST `
  -Uri "http://localhost:8000/api/v1/agent/invoke" `
  -Headers @{ "Content-Type" = "application/json" } `
  -Body '{"query": "现在几点了?然后告诉我这个时间加上2小时30分钟是什么时间?"}'

http://localhost:8000/docs#/

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages