langchain
df6865cd - Allow no token limit for ChatGPT API (#1481)

Commit
2 years ago
Allow no token limit for ChatGPT API (#1481) The endpoint default is inf if we don't specify max_tokens, so unlike regular completion API, we don't need to calculate this based on the prompt.
Author
Parents
Loading