You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(openai-base): align rebased openai-base with current main
Post-merge fixes landed on top of the rebase onto main:
- Thread TToolCapabilities generic through OpenAICompatibleChatCompletionsTextAdapter
and OpenAICompatibleResponsesTextAdapter so ai-openai / ai-grok / ai-groq /
ai-openrouter pass their own tool-capability maps while the base stays
brand-agnostic.
- Align AG-UI event yields and adapter signatures with main's EventType-enum-typed
StreamChunk: wrap event yields through an asChunk helper; align BaseImage/TTS/
Transcription super() calls with (model, config) signature; switch GeneratedImage
construction to the url-xor-b64Json discriminated shape; propagate options.logger
through summarize → chatStream.
- Responses API tool-call events now use item.id as toolCallId and emit both
toolCallName and toolName, matching main's contract.
- Prefer videos.retrieve URL for video content (retrieve-returns-url path) —
aligns with main's behavior and works against providers that don't implement
/content.
- ai-utils: preserve the full random suffix in generateId (pre-rebase regression
would have failed ai-fal's entropy test).
- Recreate ai-grok/src/tools/index.ts as a thin re-export of openai-base's
Chat Completions tool converter (vite entry expects it).
0 commit comments