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

This commit is contained in:
Luke R 2025-04-24 14:35:27 -07:00
parent 8b44daa832
commit 65028b70d5

View File

@ -176,7 +176,7 @@ async def send_to_llm(ctx, message):
return (
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:
print(e)