Commit graph

105 commits

Author SHA1 Message Date
Ishaan Jaff
a41bef5297 debug langfuse 2024-05-11 14:12:26 -07:00
Ishaan Jaff
1bf8e7ac75 fix langfuse debug mode 2024-05-11 14:08:39 -07:00
Ishaan Jaff
038522ab24 fix - support debugging litellm params 2024-05-11 14:02:16 -07:00
Ishaan Jaff
ebb5c76e37 fix langfuse log clean metadata 2024-05-11 10:19:02 -07:00
Ishaan Jaff
e83743f8e1 fix langfuse - log metadata on traces 2024-05-11 09:59:05 -07:00
Krish Dholakia
363cdb1a0c
Merge pull request #3576 from BerriAI/litellm_langfuse_fix
fix(langfuse.py): fix logging user_id in trace param on new trace creation
2024-05-10 19:27:34 -07:00
Krrish Dholakia
0115c79222 fix(langfuse.py): fix logging user_id in trace param on new trace creation
Closes https://github.com/BerriAI/litellm/issues/3560
2024-05-10 18:25:07 -07:00
Ishaan Jaff
4584989a31 fix - langfuse copy metadata 2024-05-10 17:33:29 -07:00
Krrish Dholakia
872470ff1f feat(slack_alerting.py): reintegrate langfuse trace url for slack alerts
this ensures langfuse trace url returned in llm api exception err
2024-05-07 12:58:49 -07:00
Alex Epstein
b82162832a Update support for langfuse metadata
- Added ability to set trace release, version, metadata
- Added ability to update fields during a trace continuation
- Added ability to update input and output during a trace continuation
- Wrote new test for verifying metadata is set correctly
- Small improvement to setting secret boolean, prevent unnecessary literal_eval
- Small improvements to langfuse tests
2024-05-05 14:56:36 -04:00
Krish Dholakia
fffbb73465
Merge branch 'main' into litellm_openmeter_integration 2024-05-01 21:19:29 -07:00
Ishaan Jaff
9ac5d30cb7 fix - langfuse.py 2024-05-01 20:32:52 -07:00
Ishaan Jaff
1588453532
Merge pull request #2516 from marcklingen/patch-1
Add langfuse `sdk_integration`
2024-05-01 20:01:47 -07:00
Krrish Dholakia
dbf999f56e refactor(langfuse.py): remove print statements 2024-05-01 19:11:59 -07:00
Ishaan Jaff
4e3ca5a26e fix - errant prints on langfuse 2024-05-01 19:07:56 -07:00
Krrish Dholakia
0ab6b4bb22 fix(langfuse.py): fix trace param overwriting when existing trace id is given 2024-05-01 08:44:46 -07:00
Krrish Dholakia
abdae87ba2 fix(langfuse.py): don't overwrite trace details if existing trace id passed in 2024-05-01 08:15:17 -07:00
Marc Klingen
adf5e61f2e
Merge branch 'main' into patch-1 2024-05-01 15:19:25 +02:00
Krrish Dholakia
853b70aba9 fix(langfuse.py): support 'existing_trace_id' param
allow user to call out a trace as pre-existing, this prevents creating a default trace name, and potentially overwriting past traces
2024-04-29 16:39:17 -07:00
Krrish Dholakia
2cf069befb fix(langfuse.py): don't set default trace_name if trace_id given 2024-04-29 16:39:17 -07:00
Ishaan Jaff
1b586e5042 fix - allow langfuse init with flush interval 2024-04-27 14:53:18 -07:00
Krrish Dholakia
885de2e3c6 fix(proxy/utils.py): log rejected proxy requests to langfuse 2024-04-25 19:26:27 -07:00
Krrish Dholakia
1f7abb8d92 fix(langfuse.py): fix langfuse environ check 2024-04-24 13:21:00 -07:00
Ishaan Jaff
5118c96b4d fix langfuse project id 2024-04-23 11:37:17 -07:00
Ishaan Jaff
788394b1ec fix - logging proxy base url to langfuse 2024-04-19 16:20:46 -07:00
Ishaan Jaff
c59051895b fix - allow users to opt into langfuse default tags 2024-04-19 16:05:31 -07:00
Ishaan Jaff
c0befe9bbb feat - log base_url to langfuse as a tag 2024-04-19 15:48:00 -07:00
Ishaan Jaff
48e5de4f0e
Merge pull request #3175 from BerriAI/litellm_log_team_alias_langfuse
[FEAT] Log team alias to langfuse
2024-04-19 15:30:59 -07:00
Ishaan Jaff
3167c9da9f fix - use user_api_key_team_alias as the default tag on langfuse 2024-04-19 14:43:41 -07:00
Ishaan Jaff
410d1f2d2c langfuse - log team alias 2024-04-19 14:26:58 -07:00
David Manouchehri
ce13d2fa7c
(feat) - Improve Langfuse to log request headers.
https://github.com/orgs/langfuse/discussions/1070
2024-04-16 17:38:25 +00:00
David Manouchehri
af9da303b3
(feat) Langfuse - Add location logging, and add cache_hit to metadata. 2024-04-16 17:37:24 +00:00
Krish Dholakia
9ab6482466
Merge pull request #2883 from Manouchehri/fix-broke-langfuse-2857
(fix) Langfuse v2 renamed a few things.
2024-04-15 16:14:05 -07:00
Krrish Dholakia
3b803b09d9 fix(langfuse.py): remove print statements 2024-04-11 17:23:41 -07:00
David Manouchehri
8682573187
(fix) Langfuse v2 renamed a few things. 2024-04-07 04:31:25 +00:00
Krrish Dholakia
f07500c5ea fix(proxy_server.py): bump default db timeouts 2024-04-03 09:35:08 -07:00
Krrish Dholakia
0d949d71ab fix(main.py): support text completion input being a list of strings
addresses - https://github.com/BerriAI/litellm/issues/2792, https://github.com/BerriAI/litellm/issues/2777
2024-04-02 08:50:16 -07:00
Andrea Ponti
25bacfacdc Add trace_name in langfuse logging v2 2024-03-27 16:58:08 +01:00
Marc Klingen
e0ee94d45a
conditionally set sdk_integration 2024-03-24 16:46:31 +01:00
Marc Klingen
fd8edeecf8
Merge branch 'main' into patch-1 2024-03-14 14:50:59 +01:00
Konstantin L
66dd9c309c add functions and tools to input for langfuse, fix #2207 2024-03-14 12:38:28 +01:00
ishaan-jaff
8bfb00cdab (fix) default langfuse setting 2024-03-12 17:42:31 -07:00
Marc Klingen
4c1d63040e
Merge branch 'BerriAI:main' into patch-1 2024-03-07 01:44:29 +01:00
ishaan-jaff
c4079b2548 (fix) high traffic langfuse, s3 2024-03-06 12:22:52 -08:00
ishaan-jaff
74e50d9d35 (fix) high traffic langfuse logging 2024-03-06 12:17:59 -08:00
Krrish Dholakia
70a523eee7 fix(langfuse.py): support time to first token logging on langfuse 2024-02-23 10:04:12 -08:00
Krrish Dholakia
f57483ea70 fix(utils.py): support image gen logging to langfuse 2024-02-16 16:12:52 -08:00
Krish Dholakia
70146c1d37
Merge pull request #1995 from BerriAI/litellm_langfuse_prompts
feat(langfuse.py): support langfuse prompt management
2024-02-15 23:57:00 -08:00
Krrish Dholakia
dbb2939b98 feat(langfuse.py): support langfuse prompt management 2024-02-15 21:21:30 -08:00
ishaan-jaff
039617766f (feat) track team_id in langfuse tags 2024-02-15 20:58:39 -08:00