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

fixbug: #1565 [Two problems ] AttributeError: 'OpenAIResponse' object has no attribute 'decode' #1570

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

iorisa
Copy link
Collaborator

@iorisa iorisa commented Nov 4, 2024

Fixbug

deepseek-chat

截屏2024-11-04 16 20 23
llm:
  api_type: 'openai'
  model: 'deepseek-chat'
  base_url: 'https://api.deepseek.com/v1'
  api_key: 'sk-***'

GLM-4-Flash

截屏2024-11-04 16 55 08
llm:
  api_type: 'zhipuai'
  api_key: '***'
  base_url: "https://open.bigmodel.cn/api/paas/v4/chat/completions"
  model: 'glm-4-flash'

moonshot-v1-8k

截屏2024-11-04 17 08 06
llm:
  api_type: "openai"
  model: "moonshot-v1-8k"
  base_url: "https://api.moonshot.cn/v1"
  api_key: "sk-***"

@better629
Copy link
Collaborator

lgtm

@better629 better629 merged commit f0a9042 into geekan:main Nov 4, 2024
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants