MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / load

Method load

openhands/app_server/settings/settings_store.py:23–39  ·  view source on GitHub ↗

Load session init data. By default returns the PERSISTED (user-authored) settings — the view every load() -> store() round-trip must operate on. ``resolve_agent_profile=True`` opts into the *effective* launch view: the active Agent Profile (cloud-only concept) resolv

(
        self,
        *,
        resolve_agent_profile: bool = False,
        override_agent_profile_id: str | None = None,
    )

Source from the content-addressed store, hash-verified

21
22 @abstractmethod
23 async def load(
24 self,
25 *,
26 resolve_agent_profile: bool = False,
27 override_agent_profile_id: str | None = None,
28 ) -> Settings | None:
29 """Load session init data.
30
31 By default returns the PERSISTED (user-authored) settings — the view
32 every load() -> store() round-trip must operate on.
33 ``resolve_agent_profile=True`` opts into the *effective* launch view:
34 the active Agent Profile (cloud-only concept) resolves and replaces
35 ``agent_settings``; the result must never be passed to ``store()``.
36 ``override_agent_profile_id`` is a one-off launch override and implies
37 resolution. Implementations without the Agent Profile concept ignore
38 both.
39 """
40
41 @abstractmethod
42 async def store(self, settings: Settings) -> None:

Callers 5

store_settingsFunction · 0.45
save_profileFunction · 0.45
delete_profileFunction · 0.45
activate_profileFunction · 0.45
rename_profileFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected