Container App Session Pool Code Interpreter Output Length Truncation

Jonah 20 Reputation points
2025-01-18T16:26:35.1266667+00:00

It seems as though Code Interpreter Dynamic Sessions truncate outputs after ~4000 characters. I didn't see anything in the documentation about this, but I just integrated Session Pools and now I'm facing this problem.

To test, you can do something like print("a" * 8000) in the playground and it cuts off around 4000 characters.

Does anyone know if there's a way around this? Alternatively, does anyone actually see anything about this in the documentation? Thank you!

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
511 questions
{count} votes

Accepted answer
  1. Shireesha Eeraboina (Quadrant Resource LLC) 830 Reputation points Microsoft Vendor
    2025-01-21T06:20:12.11+00:00

    Hi @Jonah,

    I have checked with Container App Engineering team on this. sharing the below. 

    Increasing the output more than 4000 characters in code interpreter while using dynamic session pools in container apps is not supported. Team is working on this to increase this hard limit and might be available in next releases unfortunately; we don't have any exact ETA. 

    I would suggest you to follow this documentation about the new updates in container apps: https://learn.microsoft.com/en-us/azure/container-apps/whats-new

    Meanwhile you can you also provide you feedback here https://feedback.azure.com/d365community/idea/1727cf54-67ea-ec11-a81b-6045bd796569  Our engineering team will actively be monitoring the feedback and work on them accordingly based on the feasibility.

    Hope this helps, let me know if you have any further question on this.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.