simonw / simonw/llm

Mechanism for marking models as supporting system prompts

Open
#288 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement plugins
Dominant language
Python
Stars
12.5k
Forks
998
Avg merge
3d 13h
Merged PRs (30d)
10

Description

Hmmm... thinking about it, we actually have a bit of a precedent problem here.

llm-claude silently ignores system prompts, which caught me out already - I fed it a system prompt and it didn't work, but I didn't realize because I didn't get an error.

On that basis, an error would actually be a better solution.

Originally posted by @simonw in https://github.com/simonw/llm/issues/284#issuecomment-1724862381

Contributor guide

Open the contributing guide

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.

Research direction

No files, tests, or entry points are named in the issue, so start by locating the model and system-prompt handling. Done should include a mechanism for identifying models that support system prompts and an error when a system prompt is used with an unsupported model.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.