GitHub Copilot Chat Model icon

GitHub Copilot Chat Model

GitHub Copilot chat model for AI workflows with full support for tools and function calling - access GPT-5, Claude, Gemini and more using your Copilot subscription

GitHub Copilot Chat Model

AI-generated

Summary

Generate conversational AI responses using the GitHub Copilot Chat Model by specifying a model and customizing options such as temperature, token limits, tool usage, and vision fallback.

Inputs

  • Model (required) — Select a GitHub Copilot model, dynamically loaded based on your subscription, or enter a custom model name if using a new or beta model.
  • Custom Model Name — Manually enter the model name when 'Enter Custom Model Name' is selected. Useful for new or beta models not yet listed.
  • Options — Additional configuration for the GitHub Copilot model including parameters like temperature, max tokens, top-p sampling, enabling streaming output, system messages for assistant behavior, auto retry settings, request timeout, and optional tools/functions for advanced interactions. Also supports vision fallback settings when the selected model lacks image processing capabilities.

Output shape

A complex object containing 'generations' with AI response messages, generation metadata including finish reason, and 'llmOutput' with token usage information.

Supports streaming responses if enabled. Automatically uploads and processes image data when vision content is detected, using a fallback model if configured. Errors occur if inputs are invalid or if vision fallback is enabled but no fallback model is provided. The returned response contains a single generation with the text output and usage details.

Examples

Example 1: Send a chat prompt to GitHub Copilot to generate a response using GPT-4.1 model with default options.

Set 'Model' to 'gpt-4.1', leave 'Options' at defaults, provide valid GitHub Copilot credentials in the node.

Example 2: Use a custom beta model not yet listed, enable vision fallback for processing images.

Set 'Model' to 'Enter Custom Model Name', specify the 'Custom Model Name', enable 'Enable Vision Fallback' with a vision-capable fallback model selected or manually entered in 'Vision Fallback Model' or 'Custom Vision Model' fields.

Links

Discussion