mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-26 11:34:50 +02:00
[eric] onboarding: sidebar can't cover the flow, managed pro lane isn't a user connection, aux-less prep re-runs on real connect; tools pane header slimmed
This commit is contained in:
@@ -75,3 +75,5 @@ class PrepResponse(BaseModel):
|
||||
automations: List[PersonalizedAutomation] = Field(default_factory=list)
|
||||
# The hero's two-level menu (4 categories x 4 tailored starters); None only if prep never ran.
|
||||
menu: Optional[PersonalizedMenu] = None
|
||||
# False = scan-grounded fallback (no aux lane at call time); lets the pipeline re-run prep once a real connect lands.
|
||||
used_llm: bool = False
|
||||
|
||||
@@ -390,6 +390,7 @@ async def build_prep(settings: AppSettings, request: PrepRequest) -> PrepRespons
|
||||
parsed = parse_prep(safe_resp_text(resp))
|
||||
if parsed is not None:
|
||||
parsed.menu = await menu_task
|
||||
parsed.used_llm = True
|
||||
return parsed
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user