mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-05-05 13:22:37 +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()
|
api = Api(url, token=token).config()
|
||||||
|
|
||||||
models = api.list("token-costs")
|
models = api.list("token-cost")
|
||||||
|
|
||||||
costs = []
|
costs = []
|
||||||
|
|
||||||
|
|
@ -29,7 +29,7 @@ def show_config(url, token=None):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
values = json.loads(api.get([
|
values = json.loads(api.get([
|
||||||
ConfigKey(type="token-costs", key=model),
|
ConfigKey(type="token-cost", key=model),
|
||||||
])[0].value)
|
])[0].value)
|
||||||
costs.append((
|
costs.append((
|
||||||
model,
|
model,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue