Skip to content

Python: Fix/ Document Chatkit limitations clearly#2587

Merged
moonbox3 merged 3 commits intomainfrom
fix/chatkit-docs-limitations
Dec 4, 2025
Merged

Python: Fix/ Document Chatkit limitations clearly#2587
moonbox3 merged 3 commits intomainfrom
fix/chatkit-docs-limitations

Conversation

@victordibia
Copy link
Contributor

Motivation and Context

Addresses user feedback in #2347 where deploying the chatkit-integration demo in regulated/air-gapped environments revealed undocumented limitations: the ChatKit frontend (chatkit.js) is CDN-only, makes external requests to OpenAI domains, and requires domain registration for production use.

Description

Documents ChatKit frontend requirements and limitations across the relevant files:

  • Added "Requirements and Limitations" section to the chatkit package README
  • Added "Network Requirements", "Domain Key Configuration", and "Limitations" sections to the chatkit-integration sample README
  • Added inline comments in frontend code explaining the CDN dependency and domain key setup

Fixes #2347

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

…ions

- Add "Requirements and Limitations" section to chatkit package README
- Add "Network Requirements" and "Limitations" sections to chatkit-integration sample README
- Add explanatory comments in frontend code for CDN dependency and domain key configuration

Fixes #2347
@markwallace-microsoft markwallace-microsoft added documentation Improvements or additions to documentation python labels Dec 2, 2025
@victordibia victordibia marked this pull request as ready for review December 2, 2025 23:22
@markwallace-microsoft
Copy link
Member

markwallace-microsoft commented Dec 2, 2025

Python Test Coverage

Python Test Coverage Report •
FileStmtsMissCoverMissing
TOTAL15884241684% 
report-only-changed-files is enabled. No files were changed during this commit :)

Python Unit Test Overview

Tests Skipped Failures Errors Time
2278 130 💤 0 ❌ 0 🔥 59.169s ⏱️

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR documents previously undiscovered limitations of the ChatKit frontend library to help users understand deployment constraints in regulated and air-gapped environments.

  • Added comprehensive documentation about ChatKit's CDN-only distribution and external network requirements
  • Clarified domain key registration requirements for production deployments
  • Added inline code comments explaining frontend dependencies and configuration

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
python/packages/chatkit/README.md Added "Requirements and Limitations" section documenting frontend requirements, network dependencies, and air-gapped environment constraints
python/samples/demos/chatkit-integration/README.md Added "Network Requirements", "Domain Key Configuration", and "Limitations" sections with deployment prerequisites and environment restrictions
python/samples/demos/chatkit-integration/frontend/src/App.tsx Added inline comments explaining domain key configuration for local vs production environments
python/samples/demos/chatkit-integration/frontend/index.html Added HTML comment warning about CDN-only distribution and air-gapped environment incompatibility

@victordibia victordibia changed the title Python: Fix/chatkit docs limitations Python: Fix/ Document Chatkit limitations clearly Dec 2, 2025
@moonbox3 moonbox3 added this pull request to the merge queue Dec 4, 2025
Merged via the queue into main with commit 42ffe59 Dec 4, 2025
24 checks passed
@crickman crickman deleted the fix/chatkit-docs-limitations branch December 4, 2025 17:16
arisng pushed a commit to arisng/agent-framework that referenced this pull request Feb 2, 2026
…ions (microsoft#2587)

- Add "Requirements and Limitations" section to chatkit package README
- Add "Network Requirements" and "Limitations" sections to chatkit-integration sample README
- Add explanatory comments in frontend code for CDN dependency and domain key configuration

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

Labels

documentation Improvements or additions to documentation python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python: chatkit integration support guidance

4 participants