File tree Expand file tree Collapse file tree 3 files changed +14
-5
lines changed
Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -131,8 +131,6 @@ export MODEL_AGENT_NAME=doubao-seed-1-6-251015
131131export VOLCENGINE_ACCESS_KEY=< Your Access Key>
132132export VOLCENGINE_SECRET_KEY=< Your Secret Key>
133133
134- export AGENTKIT_TOOL_SERVICE_CODE=< Your Tool Service Code>
135- export AGENTKIT_TOOL_HOST=< Your Tool Host>
136134export AGENTKIT_TOOL_ID=< Your Tool ID>
137135```
138136
@@ -190,7 +188,13 @@ uv run parallel.py
190188
191189- 参考 [ 用户指南] ( https://www.volcengine.com/docs/6291/65568?lang=zh ) 获取 AK/SK
192190
193- ** 3. 设置环境变量:**
191+ ** 3. 创建 AgentKit 工具:**
192+
193+ - 工具类型选择:预置工具 -> Skill Sandbox
194+
195+ ![ ] ( assets/images/skill-sandbox.jpeg )
196+
197+ ** 4. 设置环境变量:**
194198
195199``` bash
196200# 火山引擎访问凭证(必需)
@@ -204,7 +208,11 @@ export VOLCENGINE_SECRET_KEY=<Your Secret Key>
204208cd agentkit-samples/00-advanced/agent_skills
205209
206210# 配置部署参数
207- agentkit config
211+ agentkit config \
212+ --agent_name agent_skills \
213+ --entry_point ' agent.py' \
214+ --runtime_envs AGENTKIT_TOOL_ID={{your_tool_id}} \
215+ --launch_type cloud
208216
209217# 启动云端服务
210218agentkit launch
Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ def run_in_event_loop(prompt, session_id):
2828
2929
3030if __name__ == "__main__" :
31- your_bucket_name = "agent-skills"
31+ your_account_id = "YOUR_ACCOUNT_ID"
32+ your_bucket_name = f"agentkit-platform-{ your_account_id } "
3233 user_input = """
3334 使用 internal-comms skill 帮我写一个3p沟通材料,通知3p团队项目进度更新。关于产品团队,主要包括过去一周问题和未来一周计划,具体包括问题:写产品团队遇到的客户问题 (1. GPU+模型推理框架性能低于开源版本,比如时延高、吞吐低;2. GPU推理工具易用性差),以及如何解决的;计划:明年如何规划GPU产品功能和性能优化 (1. 发力GPU基础设施对生图生视频模型的支持;2. GPU推理相关工具链路易用性提升)。其他内容,可以酌情组织。
3435 """
You can’t perform that action at this time.
0 commit comments