Config.example.json 1.0 KB

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