8000 model参数传不过去? · Issue #7 · hobk/chatgpt-telebot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
model参数传不过去? #7
Open
@h1xy

Description

@h1xy

Debug on发现CHATGPT_MODEL = "xxx"不管怎么改,实际用的都是text-davinci-003,会扣credit.

root@oracle-seoul-arm:~/chatgpt-telebot# node index.js
2/6/2023, 5:12:08 AM --Bot has been started...
2/6/2023, 5:12:12 AM --收到来自id: 1051339668 的消息: test
sendMessage (21 tokens) {
max_tokens: 1000,
model: 'text-davinci-003',
temperature: 0.7,
presence_penalty: 0.6,
stop: [ '<|im_end|>' ],
prompt: 'undefinedUser:\n\ntest<|im_end|>\n\nChatGPT:\n',
stream: false
}
{
id: 'cmpl-6ggazotiFsa7f0PpDiQiHqoUIYEfs',
object: 'text_completion',
created: 1675631533,
model: 'text-davinci-003',
choices: [
{
text: "Sorry, I don't know who you are. Please introduce yourself.",
index: 0,
logprobs: null,
finish_reason: 'stop'
}
],
usage: { prompt_tokens: 21, completion_tokens: 14, total_tokens: 35 }
}
2/6/2023, 5:12:14 AM --AI回复:< test >: Sorry, I don't know who you are. Please introduce yourself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0