Repository navigation
test: verify bounded output token budget and JSON response format (#202) - #371
Conversation
|
@HenriqueLopes741 is attempting to deploy a commit to the ashrafee-dev's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Hi @ashrafee-dev ! This is my first contribution here I'm Henrique, a Computer Science student from Brazil, currently focused on software development, backend, and cloud technologies. I'm also getting more involved with open source and looking for opportunities to learn by contributing to real-world projects. I picked this issue from the contributor roadmap as a way to get familiar with the codebase — specifically the DeepSeek integration in Happy to adjust the approach if there's a preferred pattern I missed, and I'm looking forward to picking up more issues from the roadmap and contributing to the project! |
Summary
tests/roadmap/provider/test_output_token_limit.py) covering two requestparameters sent to the DeepSeek client in
ask_deepseekthat were previously untested.max_tokensis a positive, bounded integer, protecting the provider response-token budget.response_formatrequests structured JSON, sinceget_assessmentrelies onriskAssessment.model_validate(response)parsing a valid JSON payload.Test plan
uv run pytest tests/roadmap/provider/test_output_token_limit.py -quv run pylint app testsbash scripts/check.shCloses #202