Add time and model to ollama footeR
All checks were successful
Build and push / changes (push) Successful in 3s
Build and push / Lint-Python (push) Successful in 2s
Build and push / Build-and-Push-Docker (push) Successful in 59s
Build and push / sync-argocd-app (push) Successful in 3s
Build and push / post-failure-to-discord (push) Has been skipped
Build and push / post-success-to-discord (push) Successful in 2s
All checks were successful
Build and push / changes (push) Successful in 3s
Build and push / Lint-Python (push) Successful in 2s
Build and push / Build-and-Push-Docker (push) Successful in 59s
Build and push / sync-argocd-app (push) Successful in 3s
Build and push / post-failure-to-discord (push) Has been skipped
Build and push / post-success-to-discord (push) Successful in 2s
This commit is contained in:
parent
8b44daa832
commit
65028b70d5
@ -176,7 +176,7 @@ async def send_to_llm(ctx, message):
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
remove_between(answer, "<think>", "</think>")
|
remove_between(answer, "<think>", "</think>")
|
||||||
+ f"\n-# Generated using {llm_rules.get('model')}"
|
+ f"\n-# Generated using {response.json()['model']} in {response.elapsed.total_seconds()} seconds"
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user