We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fba6d27 commit c230f1cCopy full SHA for c230f1c
scripts/restart_app.py
@@ -51,7 +51,7 @@
51
if len(cml_apps.applications) > 0:
52
for app_name in ragstudio_apps:
53
cml_ragstudio_app = next(
54
- (cml_app for cml_app in cml_apps.applications if cml_app.name == app_name),
+ (cml_app for cml_app in cml_apps.applications if cml_app.name.startswith(app_name)),
55
None,
56
)
57
@@ -63,6 +63,7 @@
63
print(
64
"No RagStudio application found to restart. This can happen if someone renamed the application."
65
66
+ # if we're in "studio" mode, then there might be other applications that are not named RagStudio (Agent Studio, etc.)
67
if os.getenv("IS_COMPOSABLE", "") != "":
68
print("Composable environment. This is likely the initial deployment.")
69
else:
0 commit comments