🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
fix: strip top_p and temperature from Copilot Responses API payload (#16240)
Duo Huange6a57cb06bb5
diff --git a/packages/model-runtime/src/providers/githubCopilot/index.ts b/packages/model-runtime/src/providers/githubCopilot/index.tsindex 67bd864d516..c077e07661f 100644--- a/packages/model-runtime/src/providers/githubCopilot/index.ts+++ b/packages/model-runtime/src/providers/githubCopilot/index.ts@@ -276,13 +276,14 @@ export class LobeGithubCopilotAI implements LobeRuntimeAI {max_tokens,verbosity,preserveThinking: _pt,+ frequency_penalty,+ presence_penalty,+ top_p,+ temperature,+ apiMode,...responseRest} = rest as any;- delete responseRest.apiMode;- delete responseRest.frequency_penalty;- delete responseRest.presence_penalty;-const input = await convertOpenAIResponseInputs(messages as any, {forceImageBase64: true,strictToolPairing: true,