Awesome WorkBuddy Hub 社区资源索引
知识点效率

You can bring your own models into …

  • 8赞
  • 2转发
  • 6回复
  • 4538浏览

You can bring your own http://B.AI models into WorkBuddy and use them directly inside your development workflow.

No need to keep jumping between different AI tools.

The setup is straightforward, but a few details can make the difference between a working connection and a frustrating 401, 404, or 429 error.

Here is the complete setup 👇

1️⃣ 𝗪𝗵𝗮𝘁 𝗬𝗼𝘂 𝗔𝗿𝗲 𝗔𝗰𝘁𝘂𝗮𝗹𝗹𝘆 𝗗𝗼𝗶𝗻𝗴

WorkBuddy is a desktop productivity environment that lets you work with AI inside your development workflow.

By connecting a http://B.AI model through its API, you are essentially giving WorkBuddy permission to send your prompts to the http://B.AI model and receive the response back inside WorkBuddy.

An API is simply a way for two pieces of software to communicate with each other.

You will need:

➜ A WorkBuddy account

➜ WorkBuddy Desktop

➜ A http://B.AI API key

➜ The exact http://B.AI model ID you want to use

➜ Sufficient http://B.AI credits and permissions

2️⃣ 𝗜𝗻𝘀𝘁𝗮𝗹𝗹 𝗪𝗼𝗿𝗸𝗕𝘂𝗱𝗱𝘆

WorkBuddy currently supports Windows and macOS desktop systems.

For Windows, the guide specifies Windows 10 or later, with a Windows x64 installer that is compatible with ARM64.

For macOS, you need macOS 12 or later.

Apple silicon devices such as M1, M2, M3 and M4 are supported, as well as Intel Macs.

Linux is currently not supported.

If WorkBuddy is already installed, make sure it is updated before continuing.

3️⃣ 𝗚𝗲𝘁 𝗬𝗼𝘂𝗿 𝗕.𝗔𝗜 𝗔𝗣𝗜 𝗞𝗲𝘆

Log in to http://B.AI and open the API section from the left sidebar.

Click Create API Key.

Give the key a name you will recognize, such as WorkBuddy.

Important:

http://B.AI only displays the complete API key when it is created.

Copy it and store it somewhere secure immediately.

Never publish it in screenshots, articles, chats, repositories, or public cloud storage.

If you think the key has been exposed, revoke it, create a new one, and replace the old key in WorkBuddy.

4️⃣ 𝗚𝗲𝘁 𝗧𝗵𝗲 𝗖𝗼𝗿𝗿𝗲𝗰𝘁 𝗠𝗼𝗱𝗲𝗹 𝗜𝗗

This is one of the easiest places to make a mistake.

Do not simply copy a model name from an old tutorial.

The model ID used by WorkBuddy needs to match the actual model available to your http://B.AI account.

You can check the current IDs through:

➜ GET /v1/models

or

➜ Your http://B.AI developer console

Also make sure the model supports the OpenAI Chat Completions protocol, because that is the protocol WorkBuddy uses for this custom integration.

5️⃣ 𝗖𝗵𝗲𝗰𝗸 𝗕.𝗔𝗜 𝗠𝗼𝗱𝗲𝗹 𝗔𝘃𝗮𝗶𝗹𝗮𝗯𝗶𝗹𝗶𝘁𝘆

Before adding the model to WorkBuddy, confirm that the model is available to your http://B.AI account and supports the required API protocol.

You can check the current models through:

➜ GET /v1/models

or

➜ Your http://B.AI developer console

Make sure the model you want to use is enabled for your account and supports the OpenAI Chat Completions protocol used by this custom integration.

6️⃣ 𝗔𝗱𝗱 𝗕.𝗔𝗜 𝗧𝗼 𝗪𝗼𝗿𝗸𝗕𝘂𝗱𝗱𝘆

Open WorkBuddy.

Go to your profile avatar in the bottom left.

Then:

➜ Settings

➜ Models

➜ + Add Model

Under Provider, select Custom.

If you already have other custom models configured, create a new model entry instead of overwriting an existing one.

This lets you keep multiple configurations available.

7️⃣ 𝗧𝗵𝗲 𝗨𝗥𝗟 𝗦𝗲𝘁𝘁𝗶𝗻𝗴 𝗜𝘀 𝗜𝗺𝗽𝗼𝗿𝘁𝗮𝗻𝘁

WorkBuddy gives you a Custom Protocol setting.

This needs to match the URL you enter.

When Custom Protocol is Off, WorkBuddy follows the standard OpenAI Chat Completions structure and automatically adds:

/chat/completions

to the URL.

When Custom Protocol is On, WorkBuddy uses the complete URL exactly as entered.

Do not mix the two configurations.

Otherwise you can end up with an incorrect path such as:

/v1/chat/completions/chat/completions

which can result in a 404 error.

8️⃣ 𝗖𝗼𝗻𝗳𝗶𝗴𝘂𝗿𝗲 𝗧𝗵𝗲 𝗠𝗼𝗱𝗲𝗹

After entering your provider, URL and API key, add the exact http://B.AI model ID.

You will also see Advanced Settings for model capabilities.

These settings describe what the model can actually do.

They do not magically add capabilities that the model does not support.

For example, enabling tool calling does not mean every model suddenly gains tool calling support.

When you are unsure about input limits, output limits, or capabilities, use the provider default unless http://B.AI documentation confirms otherwise.

9️⃣ 𝗦𝗮𝘃𝗲 𝗔𝗻𝗱 𝗩𝗲𝗿𝗶𝗳𝘆

Once your:

➜ URL

➜ API key

➜ Model ID

➜ Protocol setting

➜ Model capabilities

are correct, click Save.

Your http://B.AI model should appear in the Saved Models list.

But there is an important distinction.

Seeing the model in Saved Models only proves that WorkBuddy saved the configuration.

It does not prove that http://B.AI API requests will work.

You still need to test the connection.

🔟 𝗧𝗲𝘀𝘁 𝗧𝗵𝗲 𝗖𝗼𝗻𝗻𝗲𝗰𝘁𝗶𝗼𝗻

Go back to New Task.

Open the model selector at the bottom of the prompt box.

Select your newly configured http://B.AI model.

Do not select Auto while testing.

Auto could route the request to another model, making it difficult to know whether your http://B.AI configuration actually worked.

Then send a simple test:

“Please reply only with: http://B.AI basic chat test successful”

If you receive the expected response, your basic API connection is working.

1️⃣1️⃣ 𝗧𝗲𝘀𝘁 𝗧𝗼𝗼𝗹 𝗖𝗮𝗹𝗹𝗶𝗻𝗴

Basic chat working does not necessarily mean every WorkBuddy feature will work.

If you want WorkBuddy to interact with files, test that separately.

Create a small test folder containing one or two non sensitive text files.

Give WorkBuddy only the minimum permissions required to read them.

Then ask:

“Please read the text files in the current workspace, list their filenames, and summarize each file in a single sentence. Do not modify, move, or delete any files.”

If WorkBuddy reads the files and produces accurate summaries, the tool calling pipeline is working.

If normal chat works but file reading fails, check:

➜ Model capabilities

➜ Tool Calling toggle

➜ http://B.AI endpoint support

➜ Workspace permissions

1️⃣2️⃣ 𝗖𝗵𝗲𝗰𝗸 𝗬𝗼𝘂𝗿 𝗕.𝗔𝗜 𝗨𝘀𝗮𝗴𝗲

There is another useful way to verify the integration.

Check your http://B.AI usage or activity logs if they are available to your account.

Compare the:

➜ Request timestamp

➜ Model ID

➜ Request count

➜ Token usage

with the test you just performed.

This gives you another confirmation that the request actually reached http://B.AI.

1️⃣3️⃣ 𝗪𝗵𝗮𝘁 𝗧𝗵𝗲 𝗖𝗼𝗺𝗺𝗼𝗻 𝗘𝗿𝗿𝗼𝗿𝘀 𝗠𝗲𝗮𝗻

401 usually points to an invalid, missing, or incorrectly entered API key.

Check the key, remove accidental spaces, confirm the http://B.AI provider setting, and create a new key if necessary.

403 usually points to insufficient account access, model access, credits, or permissions.

404 commonly points to an incorrect URL or incorrect protocol configuration.

Check your URL and make sure the Custom Protocol setting matches it.

429 usually means you have hit a quota, rate limit, or concurrency limit.

Check your usage and quota, reduce request frequency, then try again later.

Change one setting at a time and retest.

That makes troubleshooting much easier.

1️⃣4️⃣ 𝗜𝗳 𝗬𝗼𝘂 𝗦𝗲𝗲 𝗠𝗼𝗱𝗲𝗹 𝗡𝗼𝘁 𝗙𝗼𝘂𝗻𝗱

Do not assume the display name is the actual model ID.

Run:

GET /v1/models

again and check the exact model ID currently available to you.

Older tutorials may contain outdated model names, aliases, or version numbers.

Also confirm that the model is enabled for the Chat Completions endpoint.

1️⃣5️⃣ 𝗜𝗳 𝗥𝗲𝗾𝘂𝗲𝘀𝘁𝘀 𝗞𝗲𝗲𝗽 𝗙𝗮𝗶𝗹𝗶𝗻𝗴

Start with the simplest possible test.

Make sure you can reach the http://B.AI API endpoint.

Then send a short prompt.

If that works, gradually test more advanced functionality.

If requests remain stuck, time out, or fail, check:

➜ URL

➜ Proxy or firewall settings

➜ http://B.AI system status

➜ Input file size

➜ WorkBuddy version

➜ Full error message

➜ Request ID

The idea is to isolate one possible problem at a time instead of changing everything simultaneously.

1️⃣6️⃣ 𝗪𝗵𝗮𝘁 𝗜𝗳 𝗖𝗵𝗮𝘁 𝗪𝗼𝗿𝗸𝘀 𝗕𝘂𝘁 𝗙𝗶𝗹𝗲 𝗥𝗲𝗮𝗱𝗶𝗻𝗴 𝗗𝗼𝗲𝘀 𝗡𝗼𝘁

Walk through the configuration in this order:

➜ Model Capabilities

➜ Tool Calling Toggle

➜ Workspace Settings

➜ File Permissions

Start with a simple .txt file.

Avoid testing with system directories, protected folders, or sensitive files.

This helps determine whether the problem is the model, the tool configuration, or the workspace permissions.

1️⃣7️⃣ 𝗜𝗳 𝗪𝗼𝗿𝗸𝗕𝘂𝗱𝗱𝘆 𝗞𝗲𝗲𝗽𝘀 𝗨𝘀𝗶𝗻𝗴 𝗜𝘁𝘀 𝗢𝘄𝗻 𝗠𝗼𝗱𝗲𝗹

First, check the model selector.

Make sure Auto is not selected.

Choose your configured http://B.AI model manually.

Then send another simple test prompt.

You can also check your http://B.AI dashboard and compare the call timestamp and usage.

If nothing changes, start a new chat and test again.

1️⃣8️⃣ 𝗖𝗵𝗮𝗻𝗴𝗶𝗻𝗴 𝗗𝗲𝘃𝗶𝗰𝗲𝘀

One important detail from the guide is that your WorkBuddy setup is stored locally.

The configuration is stored in:

.workbuddy/models.json

Logging into WorkBuddy on another device does not automatically transfer your API keys or custom models.

You should expect to configure the http://B.AI model again on the new device and complete two factor authentication where required.

Never move API keys through messaging apps, public cloud storage, or unencrypted files.

1️⃣9️⃣ 𝗧𝗵𝗲 𝗕𝗶𝗴 𝗧𝗮𝗸𝗲𝗮𝘄𝗮𝘆

The powerful part of this setup is not simply adding another model to a menu.

It is bringing http://B.AI capabilities into the place where you already work.

Instead of constantly switching between an AI website and your development environment, you can configure a http://B.AI model inside WorkBuddy and use it within your workflow.

But the integration needs to be verified properly.

Save the model.

Select it manually.

Test basic chat.

Test tool calling separately.

Check your http://B.AI usage.

Then troubleshoot one setting at a time if something fails.

That approach makes the entire setup much easier to understand and debug.

2️⃣0️⃣ 𝗙𝗶𝗻𝗮𝗹 𝗖𝗵𝗲𝗰𝗸𝗹𝗶𝘀𝘁

Before considering the integration complete, confirm:

➜ WorkBuddy is updated

➜ You are signed in

➜ Your http://B.AI API key is valid

➜ Your account has sufficient credits and permissions

➜ Your model ID is exact

➜ Your URL is correct

➜ Your Custom Protocol setting matches your URL

➜ Your model capabilities are configured correctly

➜ Auto is disabled during testing

➜ Basic chat works

➜ Tool calling works if required

➜ http://B.AI usage logs show the request

If all of these check out, you have successfully connected your http://B.AI model to WorkBuddy.

This is a useful workflow for developers who want more control over which AI models power their daily work.

http://B.AI models do not have to live outside your development environment.

You can bring them into the workflow.

🔹𝗟𝗲𝗮𝗿𝗻 𝗠𝗼𝗿𝗲: https://x.com/BAI_AGI/status/2102356404841668852

@BAI_AGI @justinsuntron #TRONEcoStar

查看原帖

标签