Support multiple `stop` options for OpenAI models
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 12.5k
- Forks
- 991
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 10
Description
Ideally this would duplicate the official docs:
Up to 4 sequences where the API will stop generating further tokens.
Contributor guide
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 at llm/default_plugins/openai_models.py lines 107-110 and compare the existing stop option with the linked OpenAI Chat API documentation. Done means OpenAI model requests accept up to four stop sequences as documented; check the repository's relevant tests if available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100