|
|
@@ -1,44 +1,46 @@
|
|
|
{
|
|
|
- "yaa": {
|
|
|
- "stream": false
|
|
|
- },
|
|
|
- "llm_api": {
|
|
|
- "provider": {
|
|
|
- "api_url": "https://api.openai.com/v1/chat/completions",
|
|
|
- "api_key": "",
|
|
|
- "model_name": "gpt-4",
|
|
|
- "model_type": {
|
|
|
- "is_function_call": false,
|
|
|
- "is_reasoning": false
|
|
|
+ "config": {
|
|
|
+ "yaa": {
|
|
|
+ "stream": false
|
|
|
+ },
|
|
|
+ "llm_api": {
|
|
|
+ "provider": {
|
|
|
+ "api_url": "https://api.openai.com/v1/chat/completions",
|
|
|
+ "api_key": "",
|
|
|
+ "model_name": "gpt-4",
|
|
|
+ "model_type": {
|
|
|
+ "is_function_call": false,
|
|
|
+ "is_reasoning": false
|
|
|
+ },
|
|
|
+ "cost_per_ktoken": 0.03,
|
|
|
+ "cost_unit": "USD",
|
|
|
+ "max_tokens": 2000,
|
|
|
+ "model_settings": {
|
|
|
+ "use_custom_temp": false,
|
|
|
+ "temperature": 0.7
|
|
|
+ }
|
|
|
},
|
|
|
- "cost_per_ktoken": 0.03,
|
|
|
- "cost_unit": "USD",
|
|
|
- "max_tokens": 2000,
|
|
|
- "model_settings": {
|
|
|
- "use_custom_temp": false,
|
|
|
- "temperature": 0.7
|
|
|
+ "stream": true,
|
|
|
+ "request_timeout": 360,
|
|
|
+ "interval": 0,
|
|
|
+ "retry": {
|
|
|
+ "times": 3,
|
|
|
+ "delay": 5
|
|
|
}
|
|
|
},
|
|
|
- "stream": true,
|
|
|
- "request_timeout": 360,
|
|
|
- "interval": 0,
|
|
|
- "retry": {
|
|
|
- "times": 3,
|
|
|
- "delay": 5
|
|
|
- }
|
|
|
- },
|
|
|
- "prompt": {
|
|
|
- "function": "TODO",
|
|
|
- "system": "TODO",
|
|
|
- "error": "TODO:{error}"
|
|
|
- },
|
|
|
- "tool": {
|
|
|
- "base_tool": {
|
|
|
- "auto_approve": false,
|
|
|
- "timeout": 30,
|
|
|
- "max_memory": "512MB",
|
|
|
- "cpu_threshold": 0.8,
|
|
|
- "interrupt_monitor": true
|
|
|
+ "prompt": {
|
|
|
+ "function": "TODO",
|
|
|
+ "system": "TODO",
|
|
|
+ "error": "TODO:{error}"
|
|
|
+ },
|
|
|
+ "tool": {
|
|
|
+ "base_tool": {
|
|
|
+ "auto_approve": false,
|
|
|
+ "timeout": 30,
|
|
|
+ "max_memory": "512MB",
|
|
|
+ "cpu_threshold": 0.8,
|
|
|
+ "interrupt_monitor": true
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|