diff --git a/app/config/variables.php b/app/config/variables.php index 3363a03566..22db9ac01a 100644 --- a/app/config/variables.php +++ b/app/config/variables.php @@ -1387,6 +1387,33 @@ return [ 'required' => false, 'question' => '', 'filter' => '' + ], + [ + 'name' => '_APP_ASSISTANT_LANGFUSE_PUBLIC_KEY', + 'description' => 'Langfuse public key for assistant observability tracing. Optional.', + 'introduction' => '1.7.0', + 'default' => '', + 'required' => false, + 'question' => '', + 'filter' => '' + ], + [ + 'name' => '_APP_ASSISTANT_LANGFUSE_SECRET_KEY', + 'description' => 'Langfuse secret key for assistant observability tracing. Optional.', + 'introduction' => '1.7.0', + 'default' => '', + 'required' => false, + 'question' => '', + 'filter' => '' + ], + [ + 'name' => '_APP_ASSISTANT_LANGFUSE_HOST', + 'description' => 'Langfuse host URL for assistant observability tracing. Optional.', + 'introduction' => '1.7.0', + 'default' => 'https://cloud.langfuse.com', + 'required' => false, + 'question' => '', + 'filter' => '' ] ] ] diff --git a/docker-compose.yml b/docker-compose.yml index 0b7f164129..3c6ee9b1a6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1147,13 +1147,18 @@ services: appwrite-assistant: container_name: appwrite-assistant - image: appwrite/assistant:0.8.4 + build: + context: ../assistant + volumes: + - ../assistant/sources:/usr/src/app/sources networks: - appwrite environment: - - _APP_ASSISTANT_HOST - _APP_ASSISTANT_ANTHROPIC_API_KEY - _APP_ASSISTANT_OPENAI_API_KEY + - _APP_ASSISTANT_LANGFUSE_PUBLIC_KEY + - _APP_ASSISTANT_LANGFUSE_SECRET_KEY + - _APP_ASSISTANT_LANGFUSE_HOST appwrite-browser: container_name: appwrite-browser