Skip to content

gpt-6-astra failed in GitHub Copilot Chat extension. #768

Description

How to reproduce:

  • Use gpt-6-astra in GitHub Copilot Chat extension. Make sure gpt-6-astra is from Microsoft Foundry via Foundry Toolkit
  • chat hello world

The solution is in the error log, but because model provided from Microsoft Foundry via Foundry Toolkit have no .json to edit, I cannot fix it myself. Would you mind making models provided from Microsoft Foundry via Foundry Toolkit to have a .json configuration file? Thank you

Error log:

Sorry, your request failed. Please try again.

Reason: Unable to call the gpt-6-astra inference endpoint due to 400. Function tools with reasoning_effort are not supported for gpt-6-astra in /v1/chat/completions. To use function tools, use /v1/responses or set reasoning_effort to 'none'. Please check if the input or configuration is correct.: Error: Unable to call the gpt-6-astra inference endpoint due to 400. Function tools with reasoning_effort are not supported for gpt-6-astra in /v1/chat/completions. To use function tools, use /v1/responses or set reasoning_effort to 'none'. Please check if the input or configuration is correct. at E.chatStream (/home/jason/.vscode-server/extensions/ms-windows-ai-studio.windows-ai-studio-1.6.12-linux-x64/dist/extension.js:4919:12644) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async /home/jason/.vscode-server/extensions/ms-windows-ai-studio.windows-ai-studio-1.6.12-linux-x64/dist/extension.js:2518:5706 at async /home/jason/.vscode-server/extensions/ms-windows-ai-studio.windows-ai-studio-1.6.12-linux-x64/dist/extension.js:4943:4110 at async Object._ [as runWithTelemetry] (/home/jason/.vscode-server/extensions/ms-windows-ai-studio.windows-ai-studio-1.6.12-linux-x64/dist/extension.js:4943:3942) at async f.provideLanguageModelResponse (/home/jason/.vscode-server/extensions/ms-windows-ai-studio.windows-ai-studio-1.6.12-linux-x64/dist/extension.js:2518:3593) at async /home/jason/.vscode-server/extensions/ms-windows-ai-studio.windows-ai-studio-1.6.12-linux-x64/dist/extension.js:2521:4665 at async /home/jason/.vscode-server/extensions/ms-windows-ai-studio.windows-ai-studio-1.6.12-linux-x64/dist/extension.js:4943:4110 at async Object._ [as runWithTelemetry] (/home/jason/.vscode-server/extensions/ms-windows-ai-studio.windows-ai-studio-1.6.12-linux-x64/dist/extension.js:4943:3942) at async s.provideLanguageModelChatResponse (/home/jason/.vscode-server/extensions/ms-windows-ai-studio.windows-ai-studio-1.6.12-linux-x64/dist/extension.js:2521:4405)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs attentionThe issue needs contributor's attention

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions