2
0

Config.example.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "config": {
  3. "yaa": {
  4. "stream": false,
  5. "language": "简体中文(zh_CN)"
  6. },
  7. "llm_api": {
  8. "provider": {
  9. "api_url": "https://api.deepseek.com",
  10. "api_key": "",
  11. "model_name": "deepseek-chat",
  12. "model_type": {
  13. "is_function_call": false,
  14. "is_reasoning": false
  15. },
  16. "cost_per_ktoken": 0.03,
  17. "cost_unit": "USD",
  18. "max_tokens": 2000,
  19. "model_settings": {
  20. "use_custom_temp": false,
  21. "temperature": 0.7
  22. }
  23. },
  24. "stream": true,
  25. "request_timeout": 360,
  26. "interval": 0,
  27. "retry": {
  28. "times": 3,
  29. "delay": 5
  30. }
  31. },
  32. "prompt": {
  33. "function": "TODO",
  34. "system": "TODO",
  35. "error": "TODO:{error}"
  36. },
  37. "tool": {
  38. "base_tool": {
  39. "auto_approve": true
  40. },
  41. "finish": {
  42. "auto_approve": true
  43. }
  44. }
  45. }
  46. }