[feat] peer characters
This commit is contained in:
@@ -21,6 +21,7 @@ import { additionalInformations } from "./embedding/addinfo";
|
||||
import { cipherChat, decipherChat } from "./cipherChat";
|
||||
import { getInlayImage, supportsInlayImage } from "../image";
|
||||
import { getGenerationModelString } from "./models/modelString";
|
||||
import { sendPeerChar } from "../sync/multiuser";
|
||||
|
||||
export interface OpenAIChat{
|
||||
role: 'system'|'user'|'assistant'|'function'
|
||||
@@ -976,6 +977,8 @@ export async function sendChat(chatProcessIndex = -1,arg:{chatAdditonalTokens?:n
|
||||
}
|
||||
}
|
||||
|
||||
sendPeerChar()
|
||||
|
||||
if(req.special){
|
||||
if(req.special.emotion){
|
||||
let charemotions = get(CharEmotion)
|
||||
|
||||
Reference in New Issue
Block a user