You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@deepseek-ai/dsh-llm-pi-ai can configure reasoning, transport, and cache behavior per provider, but there is no validated setting for the OpenAI-compatible service_tier request field. This prevents deployments from opting into priority or flex processing without patching the installed runtime.
Proposed shape
Add an optional provider-profile setting:
serviceTier: priority
Accepted values are auto, default, flex, and priority. The adapter forwards the value through pi-ai's OpenAI-compatible samplingParams as service_tier; protocols that do not consume sampling parameters ignore it. An unrestricted sampling-parameter dictionary is deliberately not exposed.
Patch and validation
A complete reference patch is available on my fork:
full Host build and Client typecheck from a clean origin/master worktree: passed
I am sharing this as a Discussion because the repository currently does not accept external pull requests. Would this configuration surface fit the project's intended pi-ai abstraction?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Motivation
@deepseek-ai/dsh-llm-pi-aican configure reasoning, transport, and cache behavior per provider, but there is no validated setting for the OpenAI-compatibleservice_tierrequest field. This prevents deployments from opting intopriorityorflexprocessing without patching the installed runtime.Proposed shape
Add an optional provider-profile setting:
Accepted values are
auto,default,flex, andpriority. The adapter forwards the value through pi-ai's OpenAI-compatiblesamplingParamsasservice_tier; protocols that do not consume sampling parameters ignore it. An unrestricted sampling-parameter dictionary is deliberately not exposed.Patch and validation
A complete reference patch is available on my fork:
e2fc5513056088cd01afa3196e581320b1a75e06It includes schema/type exports, adapter wiring, bilingual package docs, generated config catalogs, a bilingual Agent Note, and focused tests.
Validation completed on Windows x64:
origin/masterworktree: passedI am sharing this as a Discussion because the repository currently does not accept external pull requests. Would this configuration surface fit the project's intended pi-ai abstraction?
All reactions