code change · featureCopilot & Agentsofficial - Microsoftreviewed - checked by Opus

#9969 Add AL fast prompt interface and wrappers

A new GetFastPrompt interface and AOAI Fast Prompt Response codeunit enable AL code to fetch blob-backed prompt templates from Edge Configuration Service with typed response handling.

Pull request · merged into main (BC30) on 2026-08-20 by Naveen26423 · 6 files (+231 -1), 4 AL · feature · tier official · reviewed (checked by Opus)

What changed

  • New GetFastPrompt public procedure on Azure OpenAI codeunit for retrieving ECS-stored prompt templates
  • New AOAI Fast Prompt Response codeunit (7789) provides typed response object with template, error code, and error message
  • Integrates with DotNet ALCopilotFunctions layer to resolve fast prompts from ECS
  • Supports error handling for invalid keys and unsupported authorization scenarios
  • AI module object ID range expanded from 7788 to 7789
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#641501
  • Labels: AL: System Application, Team: Integrations
  • Systems: copilot

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).