()
| 931 | |
| 932 | |
| 933 | def runtime_config() -> dict[str, Any]: |
| 934 | return { |
| 935 | "obsidian_vault": env_config_value( |
| 936 | "DEEPPAPERNOTE_OBSIDIAN_VAULT", |
| 937 | "READ_ARXIV_OBSIDIAN_VAULT", |
| 938 | ), |
| 939 | "papers_dir": env_config_value("DEEPPAPERNOTE_PAPERS_DIR", default="Research/Papers"), |
| 940 | "output_dir": env_config_value("DEEPPAPERNOTE_OUTPUT_DIR", default="tmp/DeepPaperNote"), |
| 941 | "workspace_output_dir": env_config_value( |
| 942 | "DEEPPAPERNOTE_WORKSPACE_OUTPUT_DIR", |
| 943 | default="DeepPaperNote_output", |
| 944 | ), |
| 945 | } |
| 946 | |
| 947 | |
| 948 | def configured_obsidian_vault(config: dict[str, Any]) -> Path | None: |
no test coverage detected