Commit graph

21 commits

Author SHA1 Message Date
Ishaan Jaff
f90b7ae0b0 test streaming logs to langsmith 2024-07-17 16:25:32 -07:00
Ishaan Jaff
1abd66db1b fix langsmith logging for streaming 2024-07-17 16:04:45 -07:00
Ishaan Jaff
c9b29d8c34 langsmith use verbose logger 2024-07-17 15:23:20 -07:00
Ishaan Jaff
0e170c75de fix use AsyncHTTPHandler for logging langsmith requests 2024-07-17 11:49:48 -07:00
Ishaan Jaff
b34eea9c28 fix langsmith log user api key, user_id etc 2024-07-17 11:19:08 -07:00
Ishaan Jaff
27f0a148d9 test api_key not logged on langsmith 2024-07-17 10:56:33 -07:00
Ishaan Jaff
2751ad3526 fix langsmith - don't log api_key 2024-07-17 10:04:36 -07:00
Krrish Dholakia
e391e30285 refactor: replace 'traceback.print_exc()' with logging library
allows error logs to be in json format for otel logging
2024-06-06 13:47:43 -07:00
Marc Abramowitz
ee98b1b355 Work with custom LANGSMITH_BASE_URL
This allows working with a custom Langsmith base URL. For example,
I can use this to test against a local Langsmith instance, running on
my laptop with Docker by adding this to the proxy config:

```yaml
litellm_settings:
  success_callback: ["langsmith"]

environment_variables:
  LANGSMITH_BASE_URL: "http://localhost:1984"
  LANGSMITH_PROJECT: "litellm-proxy"
```
2024-05-16 17:13:01 -07:00
Krrish Dholakia
926b86af87 feat(bedrock_httpx.py): moves to using httpx client for bedrock cohere calls 2024-05-11 13:43:08 -07:00
Krrish Dholakia
5f93cae3ff feat(proxy_server.py): return litellm version in response headers 2024-05-08 16:00:08 -07:00
Krrish Dholakia
701be55872 feat(utils.py): json logs for raw request sent by litellm
make it easier to view verbose logs in datadog
2024-04-29 19:21:19 -07:00
Krrish Dholakia
5da7946d43 fix(langsmith.py): fix streaming langsmith calls 2024-04-23 20:47:19 -07:00
garfeildma
f03ad94ba2 fix(integrations/langsmith.py): fix datetime json serialize error 2024-04-09 11:19:26 +08:00
Tim Asp
e676eaa85d Cleaner fallback 2024-01-19 11:56:45 -08:00
Tim Asp
cfc998194c fix error when metadata is none, prevents logging silently 2024-01-19 11:37:45 -08:00
Tim Asp
bacc54eea6 Add env for project wide langsmith default project settings 2024-01-19 11:37:15 -08:00
Krrish Dholakia
79978c44ba refactor: add black formatting 2023-12-25 14:11:20 +05:30
Krrish Dholakia
2231601d5a fix(ollama.py): fix async completion calls for ollama 2023-12-13 13:10:25 -08:00
ishaan-jaff
eaa9c65a72 (fix) langsmith logger track project_name and run_name 2023-10-18 12:00:12 -07:00
ishaan-jaff
dade7fe1b1 (feat) add langsmith logger to litellm 2023-10-18 11:39:37 -07:00