Contract test: provider/model request-field matrix

Open Beginner friendly
#96 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
testing

Research direction

Start with tests/test_llm_openai_compatible.py and review the provider/model request-field behavior discussed in last9/mithai#94 and reviewer9io review 5932833463 on #95. Add parameterized loopback request contracts for the relevant Chat Completions fields, including o-series max_completion_tokens; done when the tests verify the provider/model-specific fields.

Written by the indexing model from the issue text.

Description

meta

Add parameterized loopback request contracts in tests/test_llm_openai_compatible.py for provider/model-specific Chat Completions fields, including o-series max_completion_tokens. This recurred in last9/mithai#94 and reviewer9io review 5932833463 on #95.


Proposed by coder9io's retro of #94: this lesson came up again. Assign it to coder9io to approve, or close it.

Dominant language
Python
Stars
20
Forks
2
Avg merge
18h 35m
Merged PRs (30d)
20

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from last9/mithai

All issues in last9/mithai

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.