MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / fake_create_doc

Function fake_create_doc

deployments/desktop/shared/agents.py:1016–1023  ·  view source on GitHub ↗
(title: str, content: str, folder_id: Optional[str] = None)

Source from the content-addressed store, hash-verified

1014 for key in missing:
1015 next_lines.append(f"{key}={_serialize_env_value(updates[key])}")
1016
1017 ENV_PATH.write_text("\n".join(next_lines).rstrip() + "\n", encoding="utf-8")
1018
1019
1020def save_settings(values: Dict[str, Any]) -> Dict[str, Any]:
1021 updates: Dict[str, str] = {}
1022 for key, value in (values or {}).items():
1023 normalized_key = str(key or "").strip()
1024 if normalized_key not in EDITABLE_ENV_KEYS:
1025 continue
1026 text = str(value or "").strip()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected