codeforpdx / codeforpdx/tenantfirstaid
Move citation formatting into an agent tool
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 13
- Forks
- 21
- Avg merge
- 6d 7h
- Merged PRs (30d)
- 3
Description
Give the chatbot access to a tool which correctly generates the citation string that is expected by the frontend. The tool should also verify that the generated URL is valid. Optionally, valid/invalid URLs could be cached (memoized) with a time-limit.
The DEFAULT_INSTRUCTIONS should replace citation formatting instructions with a simple instruction to use the tool when a citation is required.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating DEFAULT_INSTRUCTIONS, the existing agent-tool entry points, and the frontend's expected citation string. Trace how tool results reach the chatbot, then define completion as citation formatting being delegated to the tool and its generated URL being validated; URL caching is optional per the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai, backend-api-design
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100