Skip to content

llm-operator/user-manager

Repository files navigation

user-manager

Running Locally

make build-server
./bin/server run --config configs/server/config.yaml

You can then connect to the DB.

sqlite3 /tmp/user_manager.db

You can then hit the endpoint.

curl http://localhost:8080/v1/users/api_keys

curl http://localhost:8080/v1/users/api_keys \
  --request POST \
  --data '{"name": "test-key"}'

You can also use the CLI llmo by setting endpointUrl to http://localhost:8080/v1.

$ cat ~/.config/llmo/config.yaml
version: v1
endpointUrl: http://localhost:8080/v1
...

$ llmo auth orgs list
Title                 Created At
Default Organization  2024-05-23T11:37:20-07:00