You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c99a1a5
Browse filesBrowse the repository at this point in the historyBrowse files
return`OpenBot assigned this Intelligence project's "${automatic.containerId}" container automatically. Change it here at any time.`;
38
+
if(automatic.state==="absent")
39
+
return`This Intelligence project has no "${automatic.containerId}" Learning container yet, so nothing is collected. Create a container with that ID in Intelligence, or run bun scripts/setup-learning.ts, and OpenBot assigns it automatically.`;
40
+
if(automatic.state==="not_entitled")
41
+
return"This Intelligence project's plan does not include Learning, so no container was assigned.";
42
+
if(automatic.state==="unavailable")
43
+
return"OpenBot could not ask Intelligence for this project's Learning container. It tries again.";
@@ -118,7 +146,7 @@ export function LearningPage() {
118
146
>
119
147
<PageSection
120
148
title="Participation"
121
-
description="Changes to container assignments apply to new threads. Existing threads keep their first assignment. Containers must already exist in the same Intelligence project."
149
+
description="Changes to container assignments apply to new threads. Existing threads keep their first assignment. Containers must already exist in the same Intelligence project. Until anything is saved here, OpenBot assigns that project's openbot container automatically."
122
150
>
123
151
{settingsQuery.isPending&&(
124
152
<prole="status">Loading Learning settings…</p>
@@ -153,6 +181,11 @@ export function LearningPage() {
153
181
change({ ...settings, defaultTarget })
154
182
}
155
183
/>
184
+
{automaticNote&&(
185
+
<prole="status"className="text-sm">
186
+
{automaticNote}
187
+
</p>
188
+
)}
156
189
<pclassName="text-muted-foreground text-sm">
157
190
An empty default leaves unmapped Bots out. IDs use 1–64 lowercase
158
191
letters, numbers, and single hyphens. Leave revision empty to
0 commit comments