test(vefaas): update Unitest of CloudAgentEngine and CloudApp and update deploy docs#39
Merged
yaozheng-fang merged 5 commits intovolcengine:mainfrom Aug 8, 2025
Conversation
059138f to
02d3709
Compare
02d3709 to
7d3400f
Compare
LotsoTeddy
approved these changes
Aug 8, 2025
yaozheng-fang
approved these changes
Aug 8, 2025
tests/test_cloud.py
Outdated
| with open(os.path.join(temp_dir, "agent.py"), "w") as f: | ||
| f.write(f"# Test agent implementation with {key}") | ||
|
|
||
| # 这里不再需要 patch.dict,因为环境变量已经设置 |
Collaborator
There was a problem hiding this comment.
Comments should be in English rather than Chinese
docs/docs/deploy.md
Outdated
| path="/my-agent-project" # 本地项目路径 | ||
| ) | ||
|
|
||
| print(f"应用已更新,访问地址:{updated_cloud_app.vefaas_endpoint}") |
Collaborator
There was a problem hiding this comment.
change to a comment statement rather than a print statement:
可以使用updated_cloud_app.vefaas_endpoint访问你的项目
docs/docs/deploy.md
Outdated
| engine = CloudAgentEngine() | ||
|
|
||
| # 删除指定的云应用 | ||
| engine.remove("my-agent-app") |
Collaborator
There was a problem hiding this comment.
engine.remove(xxx="xxx")
yaozheng-fang
pushed a commit
that referenced
this pull request
Aug 15, 2025
…ate deploy docs (#39) * test(vefaas): update Unitest of CloudAgentEngine and CloudApp * fix(test): test_cloud typer dependency * test(vefaas): volcenginesdkcore dependency, uv sync --all-extras * test(vefaas): modify chinese annotation * test(vefaas): fix deploy docs --------- Co-authored-by: tangou <tangou@bytedance.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.