mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[PR #6366] [CLOSED] feat: include userId in /chat/completion body #37500
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/6366
Author: @sam-trost
Created: 10/23/2024
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (1)
837846dfeat: include userId in /chat/completion body📊 Changes
3 files changed (+3 additions, -0 deletions)
View changed files
📝
src/lib/components/chat/Chat.svelte(+1 -0)📝
src/lib/components/playground/Chat.svelte(+1 -0)📝
src/lib/components/playground/Completions.svelte(+1 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Sending end-user IDs in your requests can be a useful tool to help OpenAI monitor and detect abuse. This allows OpenAI to provide your team with more actionable feedback in the event that we detect any policy violations in your application.
The IDs should be a string that uniquely identifies each user. This PR uses the webui internal userId.
Fixes: #6364
References: #6365
Added
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.