Skip to content

docs(rfd): Draft configurable tool parameter visibility - #1021

Open
JeanMertz wants to merge 2 commits into
mainfrom
rfd-d52-parameter-visibility
Open

docs(rfd): Draft configurable tool parameter visibility#1021
JeanMertz wants to merge 2 commits into
mainfrom
rfd-d52-parameter-visibility

Conversation

@JeanMertz

Copy link
Copy Markdown
Collaborator

A tool parameter is either in the JSON schema for every conversation or it does not exist. A parameter that is useful in one context and noise in the rest has nowhere to live: declaring it unconditionally makes every conversation reason about an argument it will rarely use, and moving it to options takes the choice away from the model entirely.

The draft adds enabled to a parameter's configuration, so a config layer can hide a parameter by default and expose it only where it is wanted. Disabled means absent from the schema, absent from describe_tools, and rejected if supplied anyway.

Extends RFD 042, which considered hidden parameters and rejected them. Both of its objections have since been answered by machinery that post-dates it, so the reversal is argued explicitly rather than assumed.

A tool parameter is either in the JSON schema for every conversation or
it does not exist. A parameter that is useful in one context and noise
in the rest has nowhere to live: declaring it unconditionally makes
every conversation reason about an argument it will rarely use, and
moving it to `options` takes the choice away from the model entirely.

The draft adds `enabled` to a parameter's configuration, so a config
layer can hide a parameter by default and expose it only where it is
wanted. Disabled means absent from the schema, absent from
`describe_tools`, and rejected if supplied anyway.

Extends RFD 042, which considered hidden parameters and rejected them.
Both of its objections have since been answered by machinery that
post-dates it, so the reversal is argued explicitly rather than assumed.

Signed-off-by: Jean Mertz <git@jeanmertz.com>
Signed-off-by: Jean Mertz <git@jeanmertz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant