# OneAPI

* 登入並進入令牌頁面

<figure><img src="/files/186ea2c5e6e5ccd16d9d5d762284ee7db672ec66" alt=""><figcaption></figcaption></figure>

* 建立新令牌（亦可以直接用default令牌↑）

<figure><img src="/files/36015cbaf88c5ea2b9114245f8430d2833cbd1a6" alt="" width="563"><figcaption></figcaption></figure>

* 複製令牌

<figure><img src="/files/8a9fd18667772e331f748ec2cfd7c4c2d4808363" alt="" width="563"><figcaption></figcaption></figure>

* 打開CherryStudio嘅服務商設定，撳服務商列表最底下嘅`新增`
* 輸入備註名稱，提供商揀OpenAI，撳確定

<figure><img src="/files/c07d081d41613fd866e001b326fb42c5b5e265eb" alt="" width="291"><figcaption></figcaption></figure>

* 填返啱啱複製嘅key
* 返去攞API Key嘅頁面，喺對應瀏覽器地址欄複製根地址，例如：

<figure><img src="/files/cbe0cc5b395198ce39d7bc56eb753101755deec4" alt="" width="563"><figcaption><p><strong>只需要複製https://xxx.xxx.com就得，「/」同埋之後嘅內容唔需要</strong></p></figcaption></figure>

{% hint style="info" %}

* 當地址係IP+端口時填[http://IP:端口就得，例如：http://127.0.0.1:3000](https://docs.cherry-ai.com/docs/zhong-wen-fan-ti/pre-basic/providers/http:/IP:端口就得，例如：http:/127.0.0.1:3000)

* 要嚴格區分`http`同`https`，如果冇開SSL就唔好填https
  {% endhint %}

* 添加模型（撳管理自動獲取或者手動輸入）打開右上角開關就可以使用。

{% hint style="success" %}
OneAPI其他主題可能介面有啲唔同，但新增方法同上面操作流程一致。
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cherry-ai.com/docs/zhong-wen-fan-ti/pre-basic/providers/oneapi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
