This PR adds LLM instrumentation on langfuse for ai-editor feature ## Type of change New feature (non-breaking change which adds functionality) Needs langfuse account and env vars to be set ## How Has This Been Tested? I configured personal langfuse credentials and instrumented the app, traces can be seen in langfuse. each conversation is one session. <img width="1683" height="714" alt="image" src="https://github.com/user-attachments/assets/3fcba1c9-63cf-44b9-a355-fd6608691559" /> <img width="1446" height="172" alt="image" src="https://github.com/user-attachments/assets/dfa6e98f-4741-4e04-9a9e-078d1f01e97b" /> ## Checklist: - [x ] My code follows the style guidelines of this project - [ x] I have performed a self-review of my code - [ x] I have commented on my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [ x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published in downstream modules --------- Co-authored-by: aakashb95 <aakash@chatwoot.com> Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com> Co-authored-by: Pranav <pranav@chatwoot.com>
104 lines
1.6 KiB
Plaintext
104 lines
1.6 KiB
Plaintext
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
|
#
|
|
# If you find yourself ignoring temporary files generated by your text editor
|
|
# or operating system, you probably want to add a global ignore instead:
|
|
# git config --global core.excludesfile '~/.gitignore_global'
|
|
|
|
# Ignore bundler config.
|
|
/.bundle
|
|
|
|
# Ignore the default SQLite database.
|
|
/db/*.sqlite3
|
|
/db/*.sqlite3-journal
|
|
|
|
# Ignore all logfiles and tempfiles.
|
|
/log/*
|
|
/tmp/*
|
|
!/log/.keep
|
|
!/tmp/.keep
|
|
*.mmdb
|
|
|
|
# Ignore Byebug command history file.
|
|
.byebug_history
|
|
.DS_Store
|
|
*.log
|
|
# Ignore application configuration
|
|
node_modules
|
|
master.key
|
|
*.rdb
|
|
|
|
# Ignore env files
|
|
.env
|
|
|
|
public/uploads
|
|
public/packs*
|
|
public/assets/administrate*
|
|
public/assets/action*.js
|
|
public/assets/activestorage*.js
|
|
public/assets/trix*
|
|
public/assets/belongs_to*.js
|
|
public/assets/manifest*.js
|
|
public/assets/manifest*.js
|
|
public/assets/*.js.gz
|
|
public/assets/secretField*
|
|
public/assets/.sprockets-manifest-*.json
|
|
|
|
# VIM files
|
|
*.swp
|
|
*.swo
|
|
*.un~
|
|
.jest-cache
|
|
|
|
# ignore jetbrains IDE files
|
|
.idea
|
|
|
|
# coverage report
|
|
buildreports
|
|
coverage
|
|
|
|
/storage
|
|
|
|
# ignore packages
|
|
node_modules
|
|
package-lock.json
|
|
|
|
*.dump
|
|
|
|
|
|
# cypress
|
|
test/cypress/videos/*
|
|
|
|
/config/master.key
|
|
/config/*.enc
|
|
|
|
|
|
# yalc for local testing
|
|
.yalc
|
|
yalc.lock
|
|
|
|
/public/packs
|
|
/public/packs-test
|
|
/node_modules
|
|
/yarn-error.log
|
|
yarn-debug.log*
|
|
.yarn-integrity
|
|
|
|
# Vite Ruby
|
|
/public/vite*
|
|
# Vite uses dotenv and suggests to ignore local-only env files. See
|
|
# https://vitejs.dev/guide/env-and-mode.html#env-files
|
|
*.local
|
|
|
|
|
|
# TextEditors & AI Agents config files
|
|
.vscode
|
|
.claude/settings.local.json
|
|
.cursor
|
|
CLAUDE.local.md
|
|
|
|
# Histoire deployment
|
|
.netlify
|
|
.histoire
|
|
.pnpm-store/*
|
|
local/
|