Update README.md

This commit is contained in:
Daniel Miessler 2024-06-28 08:55:44 -07:00 committed by GitHub
parent 1c937fc03b
commit 739d9051c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,6 +40,7 @@
- [Using the fabric client](#using-the-fabric-client)
- [Just use the Patterns](#just-use-the-patterns)
- [Create your own Fabric Mill](#create-your-own-fabric-mill)
- [Updating](#updating)
- [Structure](#structure)
- [Components](#components)
- [CLI-native](#cli-native)
@ -196,6 +197,18 @@ fabric --help
> [!NOTE]
> If you're using the `server` functions, `fabric-api` and `fabric-webui` need to be run in distinct terminal windows.
## Updating
To update Fabric, run the following commands.
```bash
# From the fabric directory
pipx install . --force
fabric --update
```
Then restart your shell.
### Using the `fabric` client
If you want to use it with OpenAI API-compatible inference servers, such as [FastChat](https://github.com/lm-sys/FastChat), [Helmholtz Blablador](http://helmholtz-blablador.fz-juelich.de), [LM Studio](https://lmstudio.ai) and others, simply export the following environment variables: