Skip to content

Commit fc9d4b1

Browse files
authored
Merge branch 'develop' into tcm-twitter-duplicate-post
2 parents bfbb9fe + 85dde60 commit fc9d4b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/generation.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export async function generateText({
160160
modelConfiguration?.maxInputTokens ||
161161
models[provider].settings.maxInputTokens;
162162
const max_response_length =
163-
modelConfiguration.max_response_length ||
163+
modelConfiguration?.max_response_length ||
164164
models[provider].settings.maxOutputTokens;
165165

166166
const apiKey = runtime.token;

0 commit comments

Comments
 (0)