Skip to content

[FEATURE] Allow Samplers To Include / Exclude Params #8

@mimi10v3

Description

@mimi10v3

Problem or Use Case

GPT-5 from OpenAI throws errors when sent top-p, top-k, etc. It also renames the token length field. So I need to be able to adjust these fields in the Sampler so i can make valid requests to the various OpenAI models which have various finicky requirements.

Proposed Solution

Allow a Sampler to leave the field empty to exclude it from the request and also to add additional custom Key : Value params. This will allow the user to adjust which params are sent for a given Sampler, including additional unknown fields or removing existing fields.

Alternatives Considered

No response

Additional Context

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions