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 510009c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: desktop/src/testing/e2eBridge.ts
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4765,9 +4765,18 @@ async function handleStartManagedAgent(args: {
4765
4765
}): Promise<RawManagedAgent>{
4766
4766
constagent=getMockManagedAgent(args.pubkey);
4767
4767
if(isRelayMeshManagedAgent(agent)){
4768
-
thrownewError(
4769
-
"relay mesh agents cannot be started from saved state because the selected serve target is not persisted. Create a new agent with Run on relay mesh selected to refresh the target for http://127.0.0.1:9337/v1.",
4770
-
);
4768
+
// Model the backend start preflight (ensure_relay_mesh_for_record): a
4769
+
// saved relay-mesh agent re-resolves a live serve target for its model
4770
+
// and only fails when no peer currently serves it.
"relay mesh agents cannot be started from saved state because no live serve target is available for this model. Start serving on a mesh peer, or create a new agent with Run on relay mesh selected to refresh the target for http://127.0.0.1:9337/v1.",
0 commit comments