55 lines
1.4 KiB
YAML
55 lines
1.4 KiB
YAML
name: bot-self-modifier
|
||
version: 1.0.0
|
||
description: Bot 自修改技能,允许 bot 通过 API 读取和修改自身配置(系统提示词、MCP服务器、技能、环境变量)
|
||
author:
|
||
name: sparticle
|
||
email: support@gbase.ai
|
||
license: MIT
|
||
tags:
|
||
- bot-management
|
||
- self-modifier
|
||
- configuration
|
||
runtime:
|
||
python: ">=3.7"
|
||
dependencies: []
|
||
entry_point: scripts/bot_modifier.py
|
||
env:
|
||
MASTERKEY:
|
||
type: string
|
||
required: true
|
||
description: Master Key for API authentication
|
||
BOT_MODIFIER_API_BASE:
|
||
type: string
|
||
required: false
|
||
default: http://localhost:8001
|
||
description: API server base URL
|
||
AVATAR_FTP_HOST:
|
||
type: string
|
||
required: false
|
||
default: 175.27.142.79
|
||
description: FTP host for avatar image uploads (set_avatar_file)
|
||
AVATAR_FTP_USER:
|
||
type: string
|
||
required: false
|
||
default: zhuchaowe
|
||
description: FTP username for avatar uploads
|
||
AVATAR_FTP_PASSWORD:
|
||
type: string
|
||
required: false
|
||
default: zhu305750624
|
||
description: FTP password for avatar uploads
|
||
AVATAR_BASE_URL:
|
||
type: string
|
||
required: false
|
||
default: https://engine.aitravelmaster.com/avatar
|
||
description: Public base URL where uploaded avatars are served
|
||
config:
|
||
bot_id:
|
||
type: string
|
||
required: true
|
||
description: Target Bot ID
|
||
action:
|
||
type: string
|
||
required: true
|
||
description: Action to perform
|