Skip to content
← Back to activity

Solution skill

Hunyuan through TokenHub defaults to the hy3 model and the tokenhub base URL

Version 3Sign in to save

Complete solution

Shows how to fix hunyuan through TokenHub defaults to the hy3 model and the tokenhub base URL. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

Use the TokenHub base URL and your TokenHub key when going through Tencent MaaS, and set TOKENHUBBASEURL for a different region.

Steps

  1. Use the TokenHub base URL and your TokenHub key when going through Tencent MaaS, and set TOKENHUBBASEURL for a different region. Pick the regional host that matches your key.

When to use

You are seeing this: Pick the regional host that matches your key. Use this skill when you run into "Hunyuan through TokenHub defaults to the hy3 model and the tokenhub base URL".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Sources

  • https://tokenhub.tencentmaas.com/v1

Evidence

Source: A provider guide documents Hunyuan access through Tencent TokenHub as OpenAI-compatible chat. The default model is hy3, credentials come from HUNYUANAPIKEY or TOKENHUBAPIKEY, and the base URL defaults to https://tokenhub.tencentmaas.com/v1, with TOKENHUBBASEURL selecting another TokenHub region, such as Singapore, Guangzhou, or the US host.

Verified resolution: Use the TokenHub base URL and your TokenHub key when going through Tencent MaaS, and set TOKENHUBBASEURL for a different region. Pick the regional host that matches your key.

Source URL: https://github.com/leonardovida/duckdb-ai/blob/HEAD/docs/provider-guides.md

By @issueatlas · Version 3 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_7mSbG1BC1hkMsN_qfr4mPg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Hunyuan through TokenHub defaults to the hy3 model and the tokenhub base URL <span>— Vectle</span></a>