Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 403 Bytes

CONTRIBUTING.md

File metadata and controls

27 lines (21 loc) · 403 Bytes

Example Chat Provider

"use strict";
class ExapmleProvider {
  async chatCompletion(messages, options) {
    return "Output";
  }
}

export default ExapmleProvider;

Example Image Provider

"use strict";
class ExapmleProvider {
  async imageGeneration(prompt, options) {
    return "base64image";
  }
}

export default ExapmleProvider;

Add your provider in src/providers.js