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
Is your feature request related to a problem? Please describe.
Currently, all parameters are forwarded to OpenAI (or the other underlying LLM).
However passing extra parameters to OpenAI results in an error.
Describe the solution you'd like
Add an additional body + header parameters (specifiable on the frontend), that is not forwarded to the underlying LLM provider.
A rough plan would be adding extra parameters to CopilotKitProps, merging them with the body in useChat and later deleting them from forwardedProps in the stream function.
The approach for extra params was outlined at the time, but the API surface has changed significantly since then and the specific mechanism is no longer applicable. Closing as stale.
Activity
[-]Add non forwarded body parameters[/-][+]Add non forwarded body + header parameters[/+]mme commentedon Feb 8, 2024
A rough plan would be adding extra parameters to
CopilotKitProps, merging them with the body inuseChatand later deleting them fromforwardedPropsin thestreamfunction.relevant files:
packages/react-core/src/components/copilot-provider/copilotkit-props.tsxpackages/react-core/src/hooks/use-chat.tspackages/backend/src/lib/copilotkit-backend.tsjpr5 commentedon Apr 12, 2026
The approach for extra params was outlined at the time, but the API surface has changed significantly since then and the specific mechanism is no longer applicable. Closing as stale.
fix(ci): strip @mentions from dependabot major version analysis comme…