Skip to content

Fixed issue #1 - #4

Closed
KartikMakwana146 wants to merge 1 commit into
primeodin:mainfrom
KartikMakwana146:fix-issue-1
Closed

KartikMakwana146 wants to merge 1 commit into
primeodin:mainfrom
KartikMakwana146:fix-issue-1

Conversation

@KartikMakwana146

Copy link
Copy Markdown

Summary
Add a --json CLI flag for machine-readable answer and source output.
Fixes #1

Changes
Added --json to emit { "answer": ..., "sources": [...] }.
Preserved existing human-readable output by default.
Added pytest coverage for JSON output.
Documented the flag in the README.

Validation
JSON CLI smoke test passed.
Python compilation passed.
Full pytest suite was not run because pytest is not installed in the active environment.

@primeodin

Copy link
Copy Markdown
Owner

Thanks @KartikMakwana146 — same fix landed via #6 (also closes #1). Appreciate you jumping on this; happy to review another good-first-issue if you want a fresh ticket.

@primeodin primeodin closed this Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

good first issue: --json CLI output for answer + sources

2 participants