Pular para o conteúdo
Kitbay
Skill

add-model-provider

NOASSERTIONAtualizado em 11 de nov. de 202684.974Estrelas no GitHub

A maintainer skill in the LobeHub repository for adding a new AI model provider to LobeHub, started by the user with the provider's name.

O que a skill ensina

A maintainer skill in the LobeHub repository for adding a new AI model provider to LobeHub, started by the user with the provider's name. The agent first records the provider's id, endpoint, authentication method and models from the provider's own documentation, with source links, and compares the closest existing provider. It then registers the provider and its model cards, reuses a runtime factory, wires API key or OAuth settings, adds icons, places the provider in the default list and writes English and Chinese setup docs and descriptions. Testing covers the runtime harness, error messages and the settings page in both themes and languages; adding models to an existing provider uses a separate skill.

O que faz

  • Record a provider's API contract from its docs
  • Register a provider and its model cards in LobeHub
  • Wire API key or OAuth settings
  • Write bilingual provider setup docs