binary-husky / binary-husky/gpt_academic

如果使用的接口缺少部分请求字段,比如max_tokens,要如何适配

Open
#1,912 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
71.3k
Forks
8.3k
PR merge metrics
No merged PRs in 30d

Description

我使用的是gpt4,但是对接的接口没有max_tokens这个字段,要修改哪部分代码

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name a file, test, or entry point. Start by locating the GPT-4 request construction and the adapter that sends max_tokens, then compare its required fields with the target interface. Done means the integration can use that interface without requiring the missing field, with the relevant request behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.