-
Notifications
You must be signed in to change notification settings - Fork 77
dapr default better devex #214
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
Conversation
7725a5b
to
4090c5f
Compare
@sicoyle ptal |
self.wf_runtime_is_running = True | ||
|
||
logger.info("Sleeping for 5 seconds to ensure runtime is started.") | ||
time.sleep(5) |
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.
helps with actor runtime not found
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.
should we rm since i have the open pr upstream and theyre planning to cut 1.16.1 next week
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.
I'm not sure that will fix that, if there is no app port define won't you still need some time to have the runtime ready?
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.
few comments - thank ya!
dapr_agents/llm/dapr/chat.py
Outdated
dapr_runtime_version = extended_metadata.get("daprRuntimeVersion", None) | ||
if dapr_runtime_version is not None: | ||
# Allow only versions >=1.16.0 and <2.0.0 for Alpha2 Chat Client | ||
if not is_version_supported(str(dapr_runtime_version), ">=1.16.0, <2.0.0"): |
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.
add "edge" as valid here too pls
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.
and in the err log pls
self.wf_runtime_is_running = True | ||
|
||
logger.info("Sleeping for 5 seconds to ensure runtime is started.") | ||
time.sleep(5) |
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.
should we rm since i have the open pr upstream and theyre planning to cut 1.16.1 next week
<details open> | ||
<summary><strong>Option 1: Using uv (Recommended)</strong></summary> | ||
|
||
<!-- We include setting up the venv as part of the first step to make sure the venv is created and activated before the examples are run.--> |
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.
the first step was moved up to setup the environment, we probably should add an option in mechanical markdown for SETUP/TEARDOWN
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.
added this issue in mm repo dapr/mechanical-markdown#38 that I'll try to implement
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
Signed-off-by: Filinto Duran <1373693+filintod@users.noreply.github.com>
7ae8c70
to
237d5e7
Compare
Try to avoid needing to set a component_name on DaprChatClient if there is only one
Some information: https://github.com/dapr/dapr-agents/pull/214/files#diff-af44c8a9ee00a1e8c503613a8e0a033597c81dd1ecc35fb4a196d2322152c098R41