Awesome WorkBuddy Hub 社区资源索引
知识点开发

One small API mistake can break the…

  • 2.4 万浏览

One small API mistake can break the entire setup

When connecting http://B.AI to WorkBuddy, pay attention to the relationship between the URL and the custom protocol setting.

If WorkBuddy is using the standard OpenAI Chat Completions protocol, it may automatically append:

"/chat/completions"

That means you shouldn't manually construct a URL that causes the endpoint to be appended twice.

Otherwise you can end up with something like:

"/v1/chat/completions/chat/completions"

…and a 404.

Another important point:

The model ID must be the actual ID supported by your http://B.AI account.

Not the display name.

Not an ID copied from an old tutorial.

Not a model you assume is available.

Check the current model list first.

Good API integrations aren't just about having the right model.

They're about getting the endpoint, protocol, authentication and model ID aligned.

@BAI_AGI @justinsuntron #TRONEcostar

查看原帖

标签