Skip to content

Commit

Permalink
fix: fix demo manifest & property
Browse files Browse the repository at this point in the history
  • Loading branch information
plutoless committed Dec 23, 2024
1 parent f5d3462 commit 1f7c48b
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 20 deletions.
5 changes: 5 additions & 0 deletions agents/examples/default/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@
"type": "extension",
"name": "gemini_v2v_python",
"version": "=0.1.0"
},
{
"type": "extension",
"name": "coze_python_async",
"version": "=0.1.0"
}
]
}
55 changes: 55 additions & 0 deletions agents/examples/demo/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,61 @@
"type": "extension",
"name": "agora_rtm",
"version": "=0.5.1"
},
{
"type": "extension",
"name": "dify_python",
"version": "=0.1.0"
},
{
"type": "extension",
"name": "gemini_v2v_python",
"version": "=0.1.0"
},
{
"type": "extension",
"name": "openai_chatgpt_python",
"version": "=0.1.0"
},
{
"type": "extension",
"name": "bingsearch_tool_python",
"version": "=0.1.0"
},
{
"type": "extension",
"name": "vision_tool_python",
"version": "=0.1.0"
},
{
"type": "extension",
"name": "weatherapi_tool_python",
"version": "=0.1.0"
},
{
"type": "extension",
"name": "interrupt_detector_python",
"version": "=0.1.0"
},
{
"type": "extension",
"name": "openai_v2v_python",
"version": "=0.1.0"
},
{
"type": "extension",
"name": "message_collector",
"version": "=0.1.0"
},
{
"type": "extension",
"name": "coze_python_async",
"version": "=0.1.0"
},
{
"type": "extension",
"name": "fish_audio_tts",
"version": "=0.1.0"
}
]
}
2 changes: 1 addition & 1 deletion agents/examples/demo/property.json
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@
{
"type": "extension",
"name": "interrupt_detector",
"addon": "interrupt_detector",
"addon": "interrupt_detector_python",
"extension_group": "default"
},
{
Expand Down
2 changes: 0 additions & 2 deletions agents/ten_packages/extension/coze_python_async/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ ten_package("coze_python_async") {
"__init__.py",
"addon.py",
"extension.py",
"log.py",
"manifest.json",
"property.json",
"tests",
]
}
39 changes: 22 additions & 17 deletions agents/ten_packages/extension/gemini_v2v_python/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,25 +110,30 @@
{
"name": "tool_register",
"property": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"parameters": {
"type": "array",
"items": {
"type": "object",
"properties": {}
}
"tool": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"parameters": {
"type": "array",
"items": {
"type": "object",
"properties": {}
}
}
},
"required": [
"name",
"description",
"parameters"
]
}
},
"required": [
"name",
"description",
"parameters"
],
"result": {
"property": {
"response": {
Expand Down

0 comments on commit 1f7c48b

Please sign in to comment.