dev.py 371 B

1234567891011121314
  1. import asyncio
  2. from applications.api import fetch_deepseek_completion
  3. prompt = "你好"
  4. res = fetch_deepseek_completion(model="defa", prompt=prompt)
  5. print(res)
  6. """
  7. curl -X POST http://127.0.0.1:6060/api/run_task -H "Content-Type: application/json" -d '{"task_name": "crawler_gzh_articles", "account_method": "search", "crawl_mode": "search", "strategy": "V1"}'
  8. """