mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-27 09:26:22 +02:00
Flow class -> flow blueprint
This commit is contained in:
parent
810e6b96c0
commit
4e5f73f597
1 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ def show_config(url, token=None):
|
|||
|
||||
api = Api(url, token=token).config()
|
||||
|
||||
models = api.list("token-costs")
|
||||
models = api.list("token-cost")
|
||||
|
||||
costs = []
|
||||
|
||||
|
|
@ -29,7 +29,7 @@ def show_config(url, token=None):
|
|||
|
||||
try:
|
||||
values = json.loads(api.get([
|
||||
ConfigKey(type="token-costs", key=model),
|
||||
ConfigKey(type="token-cost", key=model),
|
||||
])[0].value)
|
||||
costs.append((
|
||||
model,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue