skill folder update
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
_research
|
_research
|
||||||
|
.trae
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ router = APIRouter()
|
|||||||
|
|
||||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
|
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
|
||||||
DATA_FILE = os.path.join(BASE_DIR, "data", "skills.json")
|
DATA_FILE = os.path.join(BASE_DIR, "data", "skills.json")
|
||||||
SKILL_HUB_DIR = os.path.join(BASE_DIR, "data", "skill-hub")
|
SKILL_HUB_DIR = os.path.join(BASE_DIR, "data", "workspace", "skills")
|
||||||
|
|
||||||
# Ensure skill-hub directory exists
|
# Ensure skill-hub directory exists
|
||||||
os.makedirs(SKILL_HUB_DIR, exist_ok=True)
|
os.makedirs(SKILL_HUB_DIR, exist_ok=True)
|
||||||
|
|||||||
@@ -11,5 +11,15 @@
|
|||||||
"model_type": "\u5927\u8bed\u8a00\u6a21\u578b",
|
"model_type": "\u5927\u8bed\u8a00\u6a21\u578b",
|
||||||
"base_model": "glm-4-7-251222",
|
"base_model": "glm-4-7-251222",
|
||||||
"protocol_type": "OpenAI"
|
"protocol_type": "OpenAI"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "1773821572966",
|
||||||
|
"name": "gpt-5.4-nano",
|
||||||
|
"provider": "openai",
|
||||||
|
"model": "gpt-5.4-nano",
|
||||||
|
"api_key": "sk-zk2ca620045b2dd262d45594db34aa9fc7f688602b1f01ba",
|
||||||
|
"api_base": "https://api.zhizengzeng.com/v1",
|
||||||
|
"extra_headers": {},
|
||||||
|
"is_active": false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user