MCPcopy Create free account

hub / github.com/sugarforever/chat-ollama / functions

Functions516 in github.com/sugarforever/chat-ollama

↓ 2 callersFunctioninitChat
(family: string, modelName: string, params: InitChatParams, isCustomModel = false)
server/utils/models.ts:66
↓ 2 callersMethodinvocationParams
( options?: this["ParsedCallOptions"] )
server/models/openai/chat_models.ts:1429
↓ 2 callersMethodinvocationParams
(options?: this["ParsedCallOptions"])
server/models/openai/chat_models.ts:3478
↓ 2 callersMethodinvocationParams
( options?: this["ParsedCallOptions"] )
server/models/genai/generative-ai.ts:741
↓ 2 callersFunctionisAclEnabled
()
server/utils/auth.ts:12
↓ 2 callersFunctionisApiEmbeddingModelExists
(embeddingModelName: string)
server/utils/models.ts:17
↓ 2 callersFunctionisBuiltInTool
(tool: ChatOpenAIToolType)
server/models/openai/utils/tools.ts:60
↓ 2 callersFunctionisHeaders
(headers: unknown)
server/models/openai/utils/headers.ts:13
↓ 2 callersFunctionisModelsManagementEnabled
()
server/utils/modelsManagement.ts:4
↓ 2 callersFunctionisOllamaModelExists
(ollama: Ollama, embeddingModelName: string)
server/utils/models.ts:21
↓ 2 callersFunctionisValidArtifactContent
* Validates if content is suitable for artifact rendering
composables/useArtifacts.ts:198
↓ 2 callersMethodlistTools
()
server/utils/mcp.ts:36
↓ 2 callersMethodload
()
server/utils/recursiveUrlLoader.ts:234
↓ 2 callersFunctionloadModels
()
composables/useModels.ts:56
↓ 2 callersMethodmigrateAllTables
(tx: any, sqliteDbPath: string, dryRun: boolean)
scripts/migrate-sqlite-to-postgres-simple.ts:143
↓ 2 callersFunctionopenaiApiFillPath
(endpoint: string)
server/utils/models.ts:58
↓ 2 callersFunctionprocessToolCalls
( toolCalls: any[], toolsMap: Record<string, StructuredToolInterface>, accumulatedToolCalls: any[], ac
server/api/models/chat/index.post.ts:138
↓ 2 callersFunctionrequireInstruction
(id?: string)
server/utils/instructions.ts:9
↓ 2 callersFunctionrequireInstructionOwner
(event: any, instruction: Instruction)
server/utils/instructions.ts:34
↓ 2 callersFunctionrequireKnowledgeBase
(id?: string)
server/utils/knowledgeBase.ts:15
↓ 2 callersFunctionrequireKnowledgeBaseOwner
(event: any, knowledgeBase: KnowledgeBase)
server/utils/knowledgeBase.ts:40
↓ 2 callersFunctionsaveVersionsToStorage
()
composables/useArtifacts.ts:31
↓ 2 callersFunctionscanSkillsDir
* Scan a directory for skills (directories containing SKILL.md)
server/utils/userSkills.ts:68
↓ 2 callersMethodscheduleNextBuffer
()
utils/audio-streamer.ts:64
↓ 2 callersFunctionserializeMessages
(messages: RequestBody['messages'])
server/api/models/chat/index.post.ts:69
↓ 2 callersFunctionshowUsage
()
scripts/promote-super-admin.ts:81
↓ 2 callersMethodtoJSON
()
server/models/openai/azure/chat_models.ts:841
↓ 2 callersFunctiontoPosixPath
(p: string)
server/utils/userSkills.ts:11
↓ 2 callersFunctionuseInstructionsCache
()
composables/useInstructionsCache.ts:17
↓ 2 callersFunctionuseModels
(options?: Options)
composables/useModels.ts:28
↓ 2 callersFunctionvalidateMcpServerConfig
(config: McpServerCreateInput)
server/types/mcp.ts:73
↓ 2 callersFunctionzodToGenerativeAIParameters
( // eslint-disable-next-line @typescript-eslint/no-explicit-any zodObj: z.ZodType<any> )
server/models/genai/utils/zod_to_genai_parameters.ts:50
↓ 1 callersMethod_convertCompletionsDeltaToBaseMessageChunk
@internal
server/models/openai/chat_models.ts:2762
↓ 1 callersMethod_convertCompletionsMessageToBaseMessage
@internal
server/models/openai/chat_models.ts:2682
↓ 1 callersMethod_convertReasoningSummary
@internal
server/models/openai/chat_models.ts:2198
↓ 1 callersMethod_convertResponsesDeltaToBaseMessageChunk
@internal
server/models/openai/chat_models.ts:1756
↓ 1 callersFunction_convertToOpenAITool
( // eslint-disable-next-line @typescript-eslint/no-explicit-any tool: BindToolsInput, fields?: { /*
server/models/openai/utils/tools.ts:34
↓ 1 callersMethod_getStructuredOutputMethod
@internal
server/models/openai/azure/chat_models.ts:828
↓ 1 callersMethod_reduceChatOpenAITools
@internal
server/models/openai/chat_models.ts:2229
↓ 1 callersMethod_streamResponseChunks
( messages: BaseMessage[], options: this["ParsedCallOptions"], runManager?: CallbackManagerForLLMR
server/models/openai/chat_models.ts:1569
↓ 1 callersMethod_streamResponseChunks
( messages: BaseMessage[], options: this["ParsedCallOptions"], runManager?: CallbackManagerForLLMR
server/models/openai/chat_models.ts:2515
↓ 1 callersMethod_streamResponseChunks
( messages: BaseMessage[], options: this["ParsedCallOptions"], runManager?: CallbackManagerForLLMR
server/models/genai/generative-ai.ts:830
↓ 1 callersMethod_validateResult
(result: unknown)
server/models/genai/output_parsers.ts:42
↓ 1 callersFunctionaddArtifactVersion
* Adds an artifact version to the session store
composables/useArtifacts.ts:326
↓ 1 callersMethodaddText
(key: string, value: string)
server/docstore/redis.ts:47
↓ 1 callersFunctionarrayBufferToBase64
(buffer: ArrayBuffer)
utils/audio-recorder.ts:4
↓ 1 callersFunctionbase64ToArrayBuffer
(base64: string)
utils/multimodal-live.ts:11
↓ 1 callersFunctionblobToJSON
(blob: Blob)
utils/multimodal-live.ts:1
↓ 1 callersFunctionchatRequest
(uid: number, data: RequestData, headers: Record<string, any>)
composables/worker-chatRequest.ts:59
↓ 1 callersFunctioncheckLoaded
()
composables/useBrandIcons.ts:82
↓ 1 callersMethodcheckTargetDatabase
()
scripts/migrate-sqlite-to-postgres-simple.ts:103
↓ 1 callersMethodcleanup
()
scripts/migrate-sqlite-to-postgres-simple.ts:499
↓ 1 callersMethodcompletionWithRetry
( request: string | GenerateContentRequest | (string | GenerativeAIPart)[], options?: this["ParsedCall
server/models/genai/generative-ai.ts:906
↓ 1 callersMethodcompressDocuments
* Compress documents using Cohere's rerank API. * * @param {Array<DocumentInterface>} documents A sequence of documents to compress. * @param
server/rerank/cohere.ts:70
↓ 1 callersFunctionconvertAuthorToRole
(author: string)
server/models/genai/utils.ts:35
↓ 1 callersFunctionconvertAuthorToRole
( author: string )
server/models/genai/utils/common.ts:52
↓ 1 callersFunctionconvertCompletionsCustomTool
( tool: OpenAIClient.Chat.ChatCompletionCustomTool )
server/models/openai/utils/tools.ts:141
↓ 1 callersFunctionconvertMessageContentToParts
( content: MessageContent, isMultimodalModel: boolean )
server/models/genai/utils.ts:65
↓ 1 callersFunctionconvertMessageContentToParts
( message: BaseMessage, isMultimodalModel: boolean )
server/models/genai/utils/common.ts:88
↓ 1 callersFunctionconvertOpenAIToolToGenAI
( tool: ToolDefinition )
server/models/genai/utils/tools.ts:104
↓ 1 callersFunctionconvertPromptToOpenAI
(formattedPrompt: BasePromptValue)
server/models/openai/utils/prompts.ts:38
↓ 1 callersFunctionconvertResponseContentToChatGenerationChunk
( response: EnhancedGenerateContentResponse )
server/models/genai/utils.ts:212
↓ 1 callersFunctionconvertResponsesCustomTool
( tool: OpenAIClient.Responses.CustomTool )
server/models/openai/utils/tools.ts:170
↓ 1 callersFunctionconvertToGenerativeAITools
( tools: GoogleGenerativeAIToolType[] )
server/models/genai/utils/common.ts:401
↓ 1 callersFunctioncreateAgent
(instruction: string, tools: StructuredTool[], model?: any)
server/api/agents/[id].post.ts:13
↓ 1 callersMethodcreateAudioBuffer
(audioData: Float32Array)
utils/audio-streamer.ts:54
↓ 1 callersFunctioncreateChromaVectorStore
(embeddings: Embeddings, collectionName: string)
server/utils/vectorstores.ts:6
↓ 1 callersFunctioncreateMilvusVectorStore
(embeddings: Embeddings, collectionName: string)
server/utils/vectorstores.ts:14
↓ 1 callersFunctioncreateOllama
(endpoint: string, username: string | null, password: string | null)
server/utils/ollama.ts:8
↓ 1 callersFunctioncreateProxyAgent
(proxyUrl: string, protocol: Protocol)
server/api/proxy.ts:13
↓ 1 callersFunctioncreateRedisClient
()
server/store/redis.ts:3
↓ 1 callersMethodcreateServer
(input: McpServerCreateInput)
server/utils/mcp.ts:179
↓ 1 callersFunctioncreateToolConfig
( genAITools: GenerativeAITool[], extra?: { toolChoice?: ToolChoice allowedFunctionNames?: string[
server/models/genai/utils/tools.ts:120
↓ 1 callersFunctioncreateUserSkillsMiddleware
()
server/utils/userSkills.ts:238
↓ 1 callersFunctioncreateVectorStore
(embeddings: Embeddings, collectionName: string)
server/utils/vectorstores.ts:22
↓ 1 callersMethoddeleteAll
()
server/docstore/redis.ts:105
↓ 1 callersFunctiondeleteInstructions
(id: string)
server/api/instruction/[id].delete.ts:4
↓ 1 callersFunctiondeleteKnowledgeBase
( id?: string )
server/api/knowledgebases/[id].delete.ts:7
↓ 1 callersMethoddeleteServer
(id: number)
server/utils/mcp.ts:311
↓ 1 callersMethoddeserializeDocument
(jsonString: string)
server/docstore/redis.ts:19
↓ 1 callersFunctiondetectArtifact
* Detects if a message contains an artifact and extracts it
composables/useArtifacts.ts:55
↓ 1 callersFunctionextractGenericMessageCustomRole
(message: ChatMessage)
server/models/openai/chat_models.ts:142
↓ 1 callersFunctionextractToken
(authHeaderValue: string)
server/utils/auth.ts:32
↓ 1 callersFunctionfetchCustomModels
(customConfigs: any[])
server/api/models/index.get.ts:110
↓ 1 callersFunctionfetchGeminiModels
(apiKey: string)
server/api/models/index.get.ts:68
↓ 1 callersFunctionfetchOllamaModels
(event: any)
server/api/models/index.get.ts:100
↓ 1 callersFunctionfetchOpenAIModels
(apiKey: string)
server/api/models/index.get.ts:32
↓ 1 callersFunctionformatDocumentsAsString
(documents: Document[])
server/api/models/chat/index.post.ts:6
↓ 1 callersFunctionformatFunctionDefinitions
(functions: FunctionDef[])
server/models/openai/utils/openai-format-fndef.ts:65
↓ 1 callersFunctiongenerateSessionTitle
(options: SessionTitleOptions)
composables/useSessionTitle.ts:76
↓ 1 callersFunctiongenerateTitleAPI
(model: string, family: string, userMessage: string, sessionId: number)
composables/useSessionTitle.ts:46
↓ 1 callersMethodgetChildLinks
(html: string, baseUrl: string)
server/utils/recursiveUrlLoader.ts:82
↓ 1 callersMethodgetChildUrlsRecursive
( inputUrl: string, visited: Set<string> = new Set<string>(), depth = 0 )
server/utils/recursiveUrlLoader.ts:184
↓ 1 callersFunctiongetCurrentWeather
(location: string)
server/models/openai/tests/chat_models-extended.int.test.ts:126
↓ 1 callersFunctiongetFileExtension
* Gets the appropriate file extension for an artifact type
composables/useArtifacts.ts:280
↓ 1 callersMethodgetKeys
()
server/docstore/redis.ts:28
↓ 1 callersFunctiongetMessageAuthor
(message: BaseMessage)
server/models/genai/utils.ts:21
↓ 1 callersFunctiongetMessageAuthor
(message: BaseMessage)
server/models/genai/utils/common.ts:35
↓ 1 callersFunctiongetMimeType
* Gets the MIME type for an artifact
composables/useArtifacts.ts:295
↓ 1 callersFunctiongetNextVersionNumber
* Gets the next version number for an artifact type in a session
composables/useArtifacts.ts:364
← previousnext →101–200 of 516, ranked by callers