Config.example.json 1.2 KB

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