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

Fix: log search by channel id #688

Closed
wants to merge 1 commit into from
Closed

Conversation

glzjin
Copy link
Contributor

@glzjin glzjin commented Nov 8, 2023

No description provided.

@songquanpeng
Copy link
Owner

#681 一样,很奇怪:
image
image

@techotaku
Copy link
Contributor

image

@songquanpeng 根据 GORM 文档 Conventions (约定),指定列名的语法是:

type Animal struct {
  AnimalID int64     `gorm:"column:beast_id"`         // 将列名设为 `beast_id`
  Birthday time.Time `gorm:"column:day_of_the_beast"` // 将列名设为 `day_of_the_beast`
  Age      int64     `gorm:"column:age_of_the_beast"` // 将列名设为 `age_of_the_beast`
}

@songquanpeng
Copy link
Owner

确实,我看花了,我以为我指定列名了

@songquanpeng
Copy link
Owner

这个字段命名很不好,不一致,忘了怎么引进来的了

@songquanpeng
Copy link
Owner

#681 重复了哈,把那个合并了

@codelooong
Copy link

为什么我的渠道key隔段时间后,它会自动修改状态为禁用呢?如下图片,我一直找不到是什么原因导致?
微信截图_20231111151646

humphery755 added a commit to humphery755/one-api that referenced this pull request Nov 19, 2023
…ync-one-api

* 'main' of https://github.com/songquanpeng/one-api:
  fix: cloudflare test & expose detailed info about test failures (songquanpeng#715)
  feat: support tts model (songquanpeng#713)
  feat: keep sync with dall-e updates (songquanpeng#679)
  fix: fix PaLM not working issue (songquanpeng#667)
  fix: fix channel_id column name (songquanpeng#681, close songquanpeng#688)
  feat: add improve docker-compose.yml and support fast startup (songquanpeng#685)
  docs: add deploy to zeabur button (songquanpeng#693)
  fix: numeric sorting in tables (songquanpeng#695)
  feat: sync pricing for new 1106 models (songquanpeng#696)
  docs: update readme
  chore: update quota calc logic (close songquanpeng#599) (songquanpeng#627)
  fix: fix Cloudflare AI Gateway channel test support (songquanpeng#639)
  feat: support chatglm_turbo (songquanpeng#648)
  fix: fix typo (songquanpeng#651)
greeeds pushed a commit to greeeds/one-api that referenced this pull request Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants