mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 16:23:41 +08:00 
			
		
		
		
	feat: bugfix
This commit is contained in:
		@@ -164,7 +164,7 @@ export class ClaudeApi implements LLMApi {
 | 
				
			|||||||
    if (prompt[0]?.role === "assistant") {
 | 
					    if (prompt[0]?.role === "assistant") {
 | 
				
			||||||
      prompt.unshift({
 | 
					      prompt.unshift({
 | 
				
			||||||
        role: "user",
 | 
					        role: "user",
 | 
				
			||||||
        content: "",
 | 
					        content: ";",
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1088,7 +1088,7 @@ function _Chat() {
 | 
				
			|||||||
            if (payload.url) {
 | 
					            if (payload.url) {
 | 
				
			||||||
              accessStore.update((access) => (access.openaiUrl = payload.url!));
 | 
					              accessStore.update((access) => (access.openaiUrl = payload.url!));
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            accessStore.useCustomConfig = true;
 | 
					            accessStore.update((access) => (access.useCustomConfig = true));
 | 
				
			||||||
          });
 | 
					          });
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      } catch {
 | 
					      } catch {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user