-
Notifications
You must be signed in to change notification settings - Fork 44
test(vefaas): update Unitest of CloudAgentEngine and CloudApp and update deploy docs #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test(vefaas): update Unitest of CloudAgentEngine and CloudApp and update deploy docs #39
Conversation
059138f to
02d3709
Compare
02d3709 to
7d3400f
Compare
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,因为环境变量已经设置 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments should be in English rather than Chinese
docs/docs/deploy.md
Outdated
| path="/my-agent-project" # 本地项目路径 | ||
| ) | ||
|
|
||
| print(f"应用已更新,访问地址:{updated_cloud_app.vefaas_endpoint}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
engine.remove(xxx="xxx")
…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>
No description provided.