omp packages

pi-provider-tokenflux1.1.0

pi provider extension for TokenFlux

GitHub Actions Published 10 days ago MIT ~814 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

pi-provider-tokenflux

Pi provider extension for TokenFlux

npm version License Issues

English | 简体中文

Installation

Install with Pi:

pi install npm:pi-provider-tokenflux

Or install directly from GitHub:

pi install git:github.com/Twisuki/pi-provider-tokenflux

Quick Start

Start Pi and add a provider, then log in with your TokenFlux API key:

/tf-provider-add my-tokenflux
/login my-tokenflux

Use /model to select a model. Available models are fetched from TokenFlux after authentication, and added providers are restored when Pi starts.

You can also supply your API key through the TOKENFLUX_API_KEY environment variable. Add providers with different names to use multiple accounts.

Commands

Command Description
/tf-provider-add [name] Add a provider. Prompts for a name if omitted.
/tf-provider-list List configured providers and their stored credential status.
/tf-provider-remove <name> Remove a provider. Run /logout <name> first if it has a stored credential.

For bugs or suggestions, open a GitHub issue.

License

MIT