mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-15 01:21:48 +03:00
feat: 🎸 datadog
addedd
This commit is contained in:
parent
fa46eb1512
commit
59402dd8ee
@ -18,14 +18,7 @@
|
||||
"command": [
|
||||
"sh",
|
||||
"-c",
|
||||
"export DD_AGENT_HOST=$(curl http://169.254.169.254/latest/meta-data/local-ipv4); ddtrace-run uvicorn",
|
||||
"main:app",
|
||||
"--host",
|
||||
"0.0.0.0",
|
||||
"--port",
|
||||
"5050",
|
||||
"--workers",
|
||||
"6"
|
||||
"export DD_AGENT_HOST=$(curl http://169.254.169.254/latest/meta-data/local-ipv4); ddtrace-run uvicorn main:app --host 0.0.0.0 --port 5050 --workers 6"
|
||||
],
|
||||
"essential": true,
|
||||
"environment": [
|
||||
|
@ -289,6 +289,7 @@ class CompositeBrainQA(
|
||||
)
|
||||
|
||||
print("querying brain", function_name)
|
||||
# TODO: extract chat_id from generate_answer function of XBrainQA
|
||||
function_response = function_to_call(
|
||||
chat_id=chat_id,
|
||||
question=question,
|
||||
|
Loading…
Reference in New Issue
Block a user