Closed yananchen1989 closed 6 months ago
我的key是没有问题的,已经通过
response = openai.Completion.create( # type: ignore
prompt=prompt,
engine=engine,
temperature=temperature,
max_tokens=max_tokens,
top_p=top_p,
stop=[stop_token],
)
answer: str = response["choices"][0]["text"]
等单元测试方法测试了。
我在agentbench代码里,并未找到类似的对openai的调用。
你好,目前在openai-chat.yaml 中,我是这么配置的,其中fa7639a52b6f421dab015 是我的key。 不知道这样对不对,我在执行
python -m src.client.agent_test --config configs/agents/api_agents.yaml --agent gpt-3.5-turbo-0613
之后一直失败:错误信息如下: