Skip to content

Commit 071f773

Browse files
committed
fix(python): versions
1 parent 32a900d commit 071f773

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ async def lifespan(app: FastAPI):
6969
"""Application lifespan handler."""
7070
global _file_watcher
7171

72-
# Test sqlite-vector extension loading at startup
73-
logger.info("Testing sqlite-vector extension loading...")
7472
try:
7573
from db.vector_operations import connect_db, load_sqlite_vector_extension
7674

templates/index.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ <h1 class="h3">PicoCode — Local Codebase Assistant</h1>
5151
<div class="card">
5252
<div class="card-body">
5353
<h5 class="card-title">Configuration</h5>
54-
<p class="mb-1"><strong>Host:</strong> {{ config.get("uvicorn_host", "127.0.0.1") }} <strong>Port:</strong> {{ config.get("uvicorn_port", 8000) }}</p>
55-
<p class="mb-1"><strong>Local path:</strong> {{ config.get("local_path") or "not set" }}</p>
5654
<p class="mb-1"><strong>Embedding:</strong> {{ config.get("embedding_model") or "not set" }}</p>
5755
<p class="mb-0"><strong>Coding:</strong> {{ config.get("coding_model") or "not set" }}</p>
5856

@@ -66,15 +64,14 @@ <h5 class="card-title">Configuration</h5>
6664
<div class="card-body">
6765
<h5 class="card-title">Add New Project</h5>
6866
<div class="mb-2">
69-
<label for="new_project_path" class="form-label">Project Path</label>
67+
<label for="new_project_path" class="form-label">Project Path <em>(absolute path)</em></label>
7068
<input type="text" id="new_project_path" class="form-control form-control-sm" placeholder="/path/to/your/project">
71-
<small class="text-muted">Absolute path to the project directory</small>
7269
</div>
7370
<div class="mb-2">
7471
<label for="new_project_name" class="form-label">Project Name (optional)</label>
7572
<input type="text" id="new_project_name" class="form-control form-control-sm" placeholder="My Project">
7673
</div>
77-
<button id="createProjectBtn" class="btn btn-success w-100" type="button">Create & Index Project</button>
74+
<button id="createProjectBtn" class="btn btn-success w-100" type="button">Create & Index another Project</button>
7875
</div>
7976
</div>
8077

utils/file_watcher.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@ def start(self) -> None:
126126
daemon=False
127127
)
128128
self._thread.start()
129-
self.logger.info("FileWatcher started")
130129

131130
def stop(self, timeout: float = 5.0) -> None:
132131
"""
@@ -212,7 +211,6 @@ def _watch_loop(self) -> None:
212211
213212
Periodically checks watched directories for changes.
214213
"""
215-
self.logger.info("FileWatcher loop started")
216214

217215
while not self._stop_event.is_set():
218216
try:
@@ -222,8 +220,6 @@ def _watch_loop(self) -> None:
222220

223221
# Wait for the interval or until stop is signaled
224222
self._stop_event.wait(timeout=self.check_interval)
225-
226-
self.logger.info("FileWatcher loop exited")
227223

228224
def _check_all_projects(self) -> None:
229225
"""Check all watched projects for changes."""

0 commit comments

Comments
 (0)