Hi all,
I use eMClient most recent beta (macOS) with the new option to add a third-party AI provider (OpenAI-compatible URL + API key). Summarizing and “write/reply with AI” work fine. The AI assistant sidebar chat, however, fails as soon as I use an EU endpoint which I want to use for GDPR/privacy reasons.
With Requesty’s EU endpoint (router.eu.requesty.ai/v1) I get “HTTP 400 unknown unmarshal error”, and the Requesty log says: “output_config.format.schema: Unsupported regex feature in pattern field: Cannot apply a range quantifier to this regex”. With OpenRouter’s EU endpoint (eu.openrouter.ai/api/v1) I get “Service request failed. Status: 403 (Forbidden)”. With Opper (api.opper.ai/v3/compat) I get “HTTP 400 … tools.0: Input tag ‘code_interpreter’ found using ‘type’ does not match any of the expected tags”.
A direct curl request to the same EU endpoint with the same key and model works, so the account and endpoint are fine. This makes me suspect that the assistant chat sends tool definitions (such as code_interpreter) and/or a structured-output schema that EU regional endpoints or Claude models do not accept.
Is the assistant sidebar supported with third-party EU providers like these? Is there a setting to disable possible tools for the assistant, or a way to see the exact request that is sent? And if a emClient dev is reading this, maybe they can look into this.
Thanks!