Sync oci-enterprise-ai-chat to v0.5.0#2981
Open
ralungei wants to merge 1 commit into
Open
Conversation
Highlights since v0.4.0: - MCP: new oauth2-user auth type with one-click presets for Google, GitHub, Slack and Microsoft (manual OAuth client for providers that don't support dynamic registration). - MCP: client-side execution of delegated function_call tools for models like gpt-oss-120b that emit MCP calls as plain OpenAI function_call events; the client runs the tool and chains a follow-up Responses request with function_call_output. - Stream handling: stop fabricating "PrematureStreamClose" errors when OCI closes the SSE after a delegated function_call; only mark chips as failed on real abort/network/stall errors. - Style: Oracle Sans as the global font baseline on body, so any loose element inherits it without wrapping in Typography. - Header: restore model name label next to the icon. - Chore: package rename to oci-enterprise-ai-chat, version bump 0.5.0, remove SDD Generator add-on from chat input and OAuth helper text.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Syncs the
ai/gen-ai-agents/oci-enterprise-ai-chat/files/asset from upstream development (v0.4.0 → v0.5.0).Highlights
oauth2-user): new auth type with one-click presets for Google, GitHub, Slack and Microsoft. Lets users connect MCP servers behind OAuth providers that don't support RFC 7591 dynamic client registration. User pre-creates the OAuth client in the provider's console, pastesclient_id/client_secret+ the authorize/token URLs, and the app runs PKCE against them.gpt-oss-120bet al.) emit MCP tool invocations as plain OpenAI-stylefunction_callevents rather than running them server-side. The client now detectsmcp__<server>__<tool>names, executes the tool against the configured MCP server, and chains a follow-up Responses request withfunction_call_outputso the model can finish.response.completedafter a delegated function_call — that's normal flow, and the old error message confused users. Chips are now only marked failed on real abort / network / stall errors.body, so any loose<div>/<Box>inherits it without needing a<Typography>wrapper.oci-enterprise-ai-chat, version bump0.4.0→0.5.0, removed SDD Generator add-on from chat input + OAuth helper text.Files touched
14 files, +797 / -257 — all under
ai/gen-ai-agents/oci-enterprise-ai-chat/files/. No changes outside that asset.Test plan
npm run dev— app boots, no console errorsoauth2.1flow (existing) still works against an MCP server with dynamic registrationoauth2-userflow — connect Google Gmail with preset, complete consent, tool call returns data