Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

日志:加入用户的请求内容和模型返回内容 #1958

Open
5 tasks
WangJianQ-0118 opened this issue Dec 2, 2024 · 3 comments
Open
5 tasks

日志:加入用户的请求内容和模型返回内容 #1958

WangJianQ-0118 opened this issue Dec 2, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@WangJianQ-0118
Copy link

例行检查

  • 我已确认目前没有类似 issue
  • 我已确认我已升级到最新版本
  • 我已完整查看过项目 README,已确定现有版本无法满足需求
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

功能描述

应用场景
作为中转平台,想看到用户的请求内容和模型的返回内容

@WangJianQ-0118 WangJianQ-0118 added the enhancement New feature or request label Dec 2, 2024
@mxdlzg
Copy link
Contributor

mxdlzg commented Dec 7, 2024

Debug模式可以看到

@WangJianQ-0118
Copy link
Author

Debug模式可以看到

请问如何开启debug模式呀

启动参数如下:
version: '3.4'

services:
one-api:
container_name: oneapi
image: docker-hub.dahuatech.com/justsong/one-api:latest
restart: always
ports:
- "3000:3000"
environment:
TIKTOKEN_CACHE_DIR: /data/cache
volumes:
- ./oneapi:/data
- ./oneapi/cache:/data/cache

@mxdlzg
Copy link
Contributor

mxdlzg commented Dec 13, 2024

环境变量DEBUG=true/false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants