local-deep-research 0.1.25__py3-none-any.whl → 0.1.26__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,27 +34,28 @@ SEARCH_ENGINES_FILE = CONFIG_DIR / "search_engines.toml"
34
34
 
35
35
  LOCAL_COLLECTIONS_FILE = CONFIG_DIR / "local_collections.toml"
36
36
 
37
- # Load the .env file explicitly
38
- # Load the .env file explicitly
39
- config_dir = get_config_dir()
40
- env_file = config_dir / ".env"
37
+
38
+ env_file = CONFIG_DIR / ".env"
41
39
 
42
40
  if env_file.exists():
43
41
  logger.info(f"Loading environment variables from: {env_file}")
44
42
  load_dotenv(dotenv_path=env_file)
45
43
  else:
46
- logger.warning(f"Warning: .env file not found at {env_file}")
44
+ logger.warning(f"Warning: .env file not found at {env_file}. Trying secondary location.")
45
+ env_file_secondary = get_config_dir() / ".env"
46
+ if env_file_secondary.exists():
47
+ get_config_dir() / "config"
48
+ logger.info(f"Loading environment variables from: {env_file_secondary}")
49
+ load_dotenv(dotenv_path=env_file_secondary)
50
+ else:
51
+ logger.warning(f"Warning: .env file also not found at {env_file_secondary}.")
52
+
53
+
47
54
  # Set environment variable for Dynaconf to use
48
55
  docs_base = Path(user_documents_dir()) / "local_deep_research"
49
56
  os.environ["DOCS_DIR"] = str(docs_base)
50
57
 
51
58
 
52
-
53
-
54
-
55
-
56
-
57
-
58
59
  # Expose get_llm function
59
60
  def get_llm(*args, **kwargs):
60
61
  """
@@ -1,11 +1,14 @@
1
1
  # API Keys
2
- # LDR_OPENAI_ENDPOINT_API_KEY=your-api-key-here
3
- # LDR_ANTHROPIC_API_KEY=your-api-key-here
4
- # LDR_OPENAI_API_KEY=your-openai-key-here
5
- # LDR_SERP_API_KEY=your-api-key-here
6
- # LDR_GUARDIAN_API_KEY=your-api-key-here
7
- # LDR_GOOGLE_PSE_API_KEY=your-google-api-key-here
8
- # LDR_GOOGLE_PSE_ENGINE_ID=your-programmable-search-engine-id-here
2
+ # OPENAI_ENDPOINT_API_KEY=your-api-key-here
3
+ # ANTHROPIC_API_KEY=your-api-key-here
4
+ # OPENAI_API_KEY=your-openai-key-here
5
+
6
+ # BRAVE_API_KEY=
7
+ # SERP_API_KEY=your-api-key-here
8
+ # GUARDIAN_API_KEY=your-api-key-here
9
+ # GOOGLE_PSE_API_KEY=your-google-api-key-here
10
+ # GOOGLE_PSE_ENGINE_ID=your-programmable-search-engine-id-here
11
+
9
12
 
10
13
  # SearXNG Configuration, add at least SEARXNG_INSTANCE to .env file to use this search engine
11
14
  # SEARXNG_INSTANCE = "http://localhost:8080"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: local-deep-research
3
- Version: 0.1.25
3
+ Version: 0.1.26
4
4
  Summary: AI-powered research assistant with deep, iterative analysis using LLMs and web searches
5
5
  Author-email: LearningCircuit <185559241+LearningCircuit@users.noreply.github.com>, HashedViking <6432677+HashedViking@users.noreply.github.com>
6
6
  License: MIT License
@@ -80,13 +80,7 @@ A powerful AI-powered research assistant that performs deep, iterative analysis
80
80
  </a>
81
81
  </div>
82
82
 
83
- ## Windows Installation
84
83
 
85
- Download the [Windows Installer](https://github.com/LearningCircuit/local-deep-research/releases/download/v0.1.0/LocalDeepResearch_Setup.exe) for easy one-click installation.
86
-
87
- **Requires Ollama or other model preinstalled.**
88
- Download from https://ollama.ai and then pull a model
89
- ollama pull gemma3:12b
90
84
 
91
85
  ## Quick Start (not required if installed with windows installer)
92
86
 
@@ -1,12 +1,12 @@
1
1
  local_deep_research/__init__.py,sha256=Grde0sFEYyCXrPCfxd-9b9v1M6OurrzQbVYRmKQ9E7w,886
2
2
  local_deep_research/citation_handler.py,sha256=v_fwTy-2XvUuoH3OQRzmBrvaiN7mBk8jbNfySslmt5g,4357
3
- local_deep_research/config.py,sha256=n6TSkNtdie86Sc71jjnejwK_hBIDpJahNZwbiDEfzXg,10233
3
+ local_deep_research/config.py,sha256=FQxtlhw49O-f5iImst84-JwhabfYr-xV-YMEh6hkAwU,10516
4
4
  local_deep_research/main.py,sha256=uQXtGQ6LtZNd5Qw63D5ke4Q_LjYimouWVSUknVsk3JQ,3645
5
5
  local_deep_research/report_generator.py,sha256=EvaArnWirMgg42fMzmZeJczoEYujEbJ2ryHHYuuoXx8,8058
6
6
  local_deep_research/search_system.py,sha256=yY3BEzX68vdtUcYF9h6lC3yVao0YA_NSBj6W3-RwlKk,15459
7
7
  local_deep_research/api/__init__.py,sha256=H0WGFSohUR0T2QswtWngPZWoMYPs9VWQTQYaivAlrJU,440
8
8
  local_deep_research/api/research_functions.py,sha256=Z23wZYsB1x2ivdFYJ9uqIqCAwjR2RdOff7Bq30DxQYU,12099
9
- local_deep_research/defaults/.env.template,sha256=SI8WDMFrj-yANlnfd6jJ4fLYke7zSzCd9Ukk_HpyM88,500
9
+ local_deep_research/defaults/.env.template,sha256=_eVCy4d_XwpGXy8n50CG3wH9xx2oqJCFKS7IbqgInDk,491
10
10
  local_deep_research/defaults/__init__.py,sha256=2Vvlkl-gmP_qPYWegE4JBgummypogl3VXrQ1XzptFDU,1381
11
11
  local_deep_research/defaults/llm_config.py,sha256=1KiW9k8kmsUD5u9VgEdgWZBNMmK1BA0ZxoGbuC2spAk,11652
12
12
  local_deep_research/defaults/local_collections.toml,sha256=zNa03PVnFrZ757JdZOuW6QDxkOc6ep5tG8baGBrMmXM,1778
@@ -53,9 +53,9 @@ local_deep_research/web_search_engines/engines/search_engine_semantic_scholar.py
53
53
  local_deep_research/web_search_engines/engines/search_engine_serpapi.py,sha256=XikEYnM-pAaR70VeAJ28lbqpRzCj4bCA9xY29taTV8g,9215
54
54
  local_deep_research/web_search_engines/engines/search_engine_wayback.py,sha256=astAvSLajDZ6rwgthJ3iBcHSWuDSYPO7uilIxaJhXmU,18132
55
55
  local_deep_research/web_search_engines/engines/search_engine_wikipedia.py,sha256=KSGJECbEcxZpVK-PhYsTCtzedSK0l1AjQmvGtx8KBks,9799
56
- local_deep_research-0.1.25.dist-info/licenses/LICENSE,sha256=Qg2CaTdu6SWnSqk1_JtgBPp_Da-LdqJDhT1Vt1MUc5s,1072
57
- local_deep_research-0.1.25.dist-info/METADATA,sha256=sVEzW1cEvbnt0d-FtGmnZLqzf7_D1cF8PWC13bxbmBM,17711
58
- local_deep_research-0.1.25.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
59
- local_deep_research-0.1.25.dist-info/entry_points.txt,sha256=u-Y6Z3MWtR3dmsTDFYhXyfkPv7mALUA7YAnY4Fi1XDs,97
60
- local_deep_research-0.1.25.dist-info/top_level.txt,sha256=h6-uVE_wSuLOcoWwT9szhX23mBWufu77MqmM25UfbCY,20
61
- local_deep_research-0.1.25.dist-info/RECORD,,
56
+ local_deep_research-0.1.26.dist-info/licenses/LICENSE,sha256=Qg2CaTdu6SWnSqk1_JtgBPp_Da-LdqJDhT1Vt1MUc5s,1072
57
+ local_deep_research-0.1.26.dist-info/METADATA,sha256=lxkwHdoKtXh2HlxFL_XZ6NGn6aWm-mVjBQR7GclJpqE,17384
58
+ local_deep_research-0.1.26.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
59
+ local_deep_research-0.1.26.dist-info/entry_points.txt,sha256=u-Y6Z3MWtR3dmsTDFYhXyfkPv7mALUA7YAnY4Fi1XDs,97
60
+ local_deep_research-0.1.26.dist-info/top_level.txt,sha256=h6-uVE_wSuLOcoWwT9szhX23mBWufu77MqmM25UfbCY,20
61
+ local_deep_research-0.1.26.dist-info/RECORD,,