This commit is contained in:
sanmao
2025-03-02 12:33:33 +08:00
committed by GitHub
6 changed files with 40 additions and 5 deletions

View File

@@ -117,7 +117,7 @@ export class DoubaoApi implements LLMApi {
options.onController?.(controller);
try {
const chatPath = this.path(ByteDance.ChatPath);
const chatPath = this.path(ByteDance.ChatPath(modelConfig.model));
const chatPayload = {
method: "POST",
body: JSON.stringify(requestPayload),