Skip to content

feat: add support for new openai-compatible endpoint on AskuiAPI in askuiVlmProvider#290

Draft
philipph-askui wants to merge 3 commits into
mainfrom
feat/google-messages-api
Draft

feat: add support for new openai-compatible endpoint on AskuiAPI in askuiVlmProvider#290
philipph-askui wants to merge 3 commits into
mainfrom
feat/google-messages-api

Conversation

@philipph-askui

@philipph-askui philipph-askui commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Adds support for AskUI's new OpenAI-compatible proxy endpoint (/proxy/openai/v1/chat/completions) to AskUIVlmProvider. The backend is inferred from model_id: Claude models route to the Anthropic proxy as before, while Gemini models route to the new endpoint via OpenAIMessagesApi. Gemini requests automatically use a 1000×1000 ScaledCoordinateSpace with a coordinate-augmented system prompt, and the single client argument now accepts either an Anthropic or OpenAI instance. It also fixes multi-turn tool calling for Gemini by preserving its thought_signature (carried in a new extra_content field on ToolUseBlockParam) across turns, which the API requires.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant