---
id: change/bcapps/13765
type: change
title: "#13765 [E-Document] Set max output tokens for MLLM extraction"
summary: The E-Document MLLM Handler sets an explicit maximum output token budget to ensure compatibility with the upcoming 5.6 model version.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit e-document mllm handler
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-11-10T00:55:21.460Z"
  flags: []
generated:
  at: "2026-11-10T00:14:28.203Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 50e8c76e863294b52225db4a24ba1830e0a05295
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13765
    title: "microsoft/BCApps#13765: [E-Document] Set max output tokens for MLLM extraction"
    date: "2026-11-09"
    commit: 50e8c76e863294b52225db4a24ba1830e0a05295
    t: null
    quote: Set explicit ouput token budget to prepare for 5.6 model.
links:
  learn: []
  objects:
    - object/codeunit/6231
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 13765
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13765
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-09T16:46:17Z"
author: mynjj
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Integrations"
change_class: code
change_kind: feature
behavior_change: false
breaking: false
files:
  count: 1
  additions: 6
  deletions: 0
  al: 1
apps:
  - EDocument
objects_touched:
  - key: codeunit/6231
    page: codeunit/6231
    type: codeunit
    id: 6231
    name: E-Document MLLM Handler
    app: EDocument
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 658188
systems:
  - integration
quote: Set explicit ouput token budget to prepare for 5.6 model.
joined_against:
  major: "30"
  commit: d2abc1d2ceae394331716c8183ef60e1534c2ce0
---

# #13765 [E-Document] Set max output tokens for MLLM extraction

> The E-Document MLLM Handler sets an explicit maximum output token budget to ensure compatibility with the upcoming 5.6 model version.

[Pull request](https://github.com/microsoft/BCApps/pull/13765) · merged into `main` (BC30) on 2026-11-09 by mynjj · 1 file (+6 -0), 1 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- E-Document MLLM Handler now sets an explicit maximum output token budget
- Done to prepare MLLM extraction for the 5.6 model
- Small change in a single codeunit

## AL objects touched

- [Codeunit 6231 "E-Document MLLM Handler"](../../objects/codeunit/6231.md), EDocument: modified

## Context

- Work items: AB#658188
- Labels: AL: Apps (W1), Team: Integrations
- Systems: integration
- From the description: "Set explicit ouput token budget to prepare for 5.6 model."

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).
