Commit graph

7 commits

Author SHA1 Message Date
Cursor Agent
51e5d9d3bc feat: add OpenAI Responses API WebSocket mode support
Implements WebSocket transport for the OpenAI Responses API endpoint
(wss://api.openai.com/v1/responses) as documented at:
https://developers.openai.com/api/docs/guides/websocket-mode/

New files:
- litellm/llms/openai/responses/websocket_handler.py: OpenAI WS handler
- litellm/litellm_core_utils/responses_websocket_streaming.py: bidirectional
  streaming forwarder for the Responses API WebSocket protocol
- litellm/realtime_api/responses_websocket.py: _aresponses_websocket entry
  point (analogous to _arealtime)
- tests/test_litellm/proxy/response_api_endpoints/test_responses_websocket.py:
  19 unit tests covering handler, streaming, routing, and endpoint registration

Modified files:
- litellm/__init__.py: export _aresponses_websocket
- litellm/router.py: register _aresponses_websocket route
- litellm/proxy/route_llm_request.py: add route type
- litellm/proxy/proxy_server.py: WebSocket endpoints at /v1/responses,
  /responses, /openai/v1/responses
- AGENTS.md: add Cursor Cloud specific instructions

Co-authored-by: Ishaan Jaff <ishaan-jaff@users.noreply.github.com>
2026-02-25 19:34:48 +00:00
Krish Dholakia
5662228e20
feat(ui): add user filtering to usage page (#22059)
* feat(ui): add user filtering to usage page

Adds "User Usage" as a new view option in the usage page dropdown,
allowing admins to view and filter usage data by individual users
via the existing /user/daily/activity backend endpoint.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat(ui/): working usage filtering

* fix(ui): use single-select for user filter and add tests

The user entity type's backend endpoint only accepts a single user_id,
so the filter now uses single-select mode instead of multi-select.
Added tests for the new user entity type in EntityUsage and
UsageViewSelect. Updated CLAUDE.md and AGENTS.md with guidance on
UI/backend contract consistency and test coverage for new entity types.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* revert: remove unintended package-lock.json changes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* revert: restore package-lock.json to merge base state

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 10:37:45 -08:00
yuneng-jiang
9791293fb0 Add light/dark mode slider for dev 2026-01-26 11:22:14 -08:00
yuneng-jiang
901d145b1a Adding UI portion for Agents MD 2025-12-20 17:37:13 -08:00
Cesar Garcia
5b0729034c
docs: cleanup README and improve agent guides (#17003)
* docs: cleanup README and improve AI agent guides

- Remove obsolete version warnings (openai>=1.0.0, pydantic>=2.0.0)
- Add note about Responses API in README
- Add GitHub templates section to CLAUDE.md, GEMINI.md, and AGENTS.md
- Remove temporary test file test_pydantic_fields.py

* update files

* update Gemini file
2025-11-23 21:53:53 -08:00
Cesar Garcia
0908208076
chore: cleanup repo and improve AI docs (#16775)
* chore: remove development setup files from repository

Removes VERTEX_ENV_SETUP.md and setup_vertex_env.sh from the
repository as they are not referenced in documentation or tests.

These files were added in PR #15824 alongside the VertexAI Search
feature. The setup information is already well-documented in the
official docs at:
docs/my-website/docs/pass_through/vertex_ai_search_datastores.md

* docs: add poetry run python usage to CLAUDE.md and AGENTS.md
2025-11-18 11:36:27 -08:00
Cole McIntosh
a3da7f1876
Add AGENTS.md (#11461) 2025-06-05 16:29:28 -07:00