Skip to content
Open

xx #241

Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
printf "%b\n" "$CUSTOM_CONFIG" > config/custom.yaml
echo "Use custom config: "
cat config/custom.yaml
uv run src/zotero_arxiv_daily/main.py
uv run src/zotero_arxiv_daily/main.py executor.source=arxiv

Copilot AI Apr 23, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hydra override executor.source=arxiv sets executor.source to a string, but the app expects it to be a list (it’s iterated over when building self.retrievers). Use a list override instead (e.g., executor.source=[arxiv] or executor.source=['arxiv']) to avoid iterating over individual characters.

Suggested change
uv run src/zotero_arxiv_daily/main.py executor.source=arxiv
uv run src/zotero_arxiv_daily/main.py executor.source=[arxiv]

Copilot uses AI. Check for mistakes.
7 changes: 5 additions & 2 deletions config/custom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ source:
arxiv:
category: ["cs.AI","cs.CV","cs.LG","cs.CL"]

# executor:
# debug: ${oc.env:DEBUG,null}
# source: ['arxiv']

executor:
debug: ${oc.env:DEBUG,null}
source: ['arxiv']
source:arxiv

Copilot AI Apr 23, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

executor.source is expected to be a list (it’s iterated over in Executor.__init__), but this sets it to a scalar and also omits the required space after :. As written, it will either parse incorrectly or be treated as a string, causing iteration over characters ('a','r','x','i','v') and breaking retriever selection. Set executor.source to a proper YAML list (e.g., ['arxiv']).

Suggested change
source:arxiv
source: ['arxiv']

Copilot uses AI. Check for mistakes.
Loading