Skip to content

Commit 7d81f7f

Browse files
committed
copilot suggestions
1 parent 9d69eb3 commit 7d81f7f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ User Input (Image + Text Query)
278278
| Variable | Description | Default | Required |
279279
|----------|-------------|---------|----------|
280280
| `OPENAI_API_KEY` | OpenAI API key | - ||
281-
| `EPFL_API_KEY_EMBEDDER` | API key for remote reranker endpoint | - | ✅ (for reranking) |
281+
| `EPFL_API_KEY_EMBEDDER` | API key for remote embedder and reranker endpoints | - | ✅ (when `retrieval.embedder.backend: remote` and/or `retrieval.reranker.backend: remote`) |
282282
| `GITHUB_TOKEN` | GitHub token for repo info | - ||
283283
| `SOFTWARE_CATALOG` | Path to catalog JSONL | `dataset/catalog.jsonl` ||
284284
| `TOP_K` | Retrieval candidates count | `8` ||

src/ai_agent/utils/previews.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def _fingerprint_paths(paths: List[str]) -> tuple[str, ...]:
2929
pp = Path(p)
3030
try:
3131
st = pp.stat()
32-
fps.append(f"{pp.resolve()}::{int(st.st_mtime)}::{st.st_size}")
32+
fps.append(f"{pp.resolve()}::{st.st_mtime_ns}::{st.st_size}")
3333
except Exception:
3434
fps.append(str(pp))
3535
return tuple(fps)

0 commit comments

Comments
 (0)