modified: llm_settings.json

modified:   template/agent_prompt.py
	modified:   template/parsing_error.py
This commit is contained in:
abnerhexu
2026-01-20 15:55:11 +08:00
parent 31ef4550e7
commit 0410fbf4bc
3 changed files with 19 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
{
"selected_provider": "Kimi",
"selected_provider": "TSSC",
"provider_configs": {
"Ollama": {
"type": "ollama",
@@ -49,6 +49,22 @@
"allow_endpoint_edit": true,
"allow_api_toggle": true,
"system_prompt": "You are a very friendly drone control agent. No matter what language I use to give you instructions, please call the tools to perform the task and then reply in English."
},
"TSSC": {
"type": "openai-compatible",
"base_url": "https://ollama.nudt.space/v1",
"models_endpoint": "/v1/models",
"chat_endpoint": "/v1/chat/completions",
"requires_api_key": true,
"api_key": "sk-shahe-547d2f923494c66c3b0134c3e52bbe12",
"encoding": "utf-8",
"default_model": "gemma3:27b",
"default_models": [
"gemma3:27b"
],
"allow_endpoint_edit": true,
"allow_api_toggle": true,
"system_prompt": "You are a very friendly drone control agent. No matter what language I use to give you instructions, please call the tools to perform the task and then reply in English."
}
}
}

View File

@@ -85,8 +85,7 @@ Tips for you to finish task in the most efficient way:
4. Getting entities nearby do not always effective. You have only limited sensor range. Using /targets API to get targets and /obstacles API to get obstacles is more effective.
5. If battery is below 30, find the nerest waypoint, go there and land, then charge to 100.
6. Reaching to a higher latitude can help you see targets, but do not exceed the drone's limit.
7. We put your answer to langchain, so if you want to return {{ or }}, return double of the characters.
8. Cannot move from current status: DroneStatus.IDLE means you need to take off first then move.
7. Cannot move from current status: DroneStatus.IDLE means you need to take off first then move.
Begin!

View File

@@ -14,5 +14,6 @@ REMINDER - Action Input must be valid JSON:
- For one parameter: {{"drone_id": "drone-001"}}
- For multiple parameters: {{"drone_id": "drone-001", "altitude": 15.0}}
- Numbers WITHOUT quotes, strings WITH quotes
- We put your answer to langchain, so if you want to return {{ or }}, return double of the characters.
Please try again with proper JSON format."""