MCPcopy Create free account

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

Functions516 in github.com/sugarforever/chat-ollama

FunctionhandleLLMNewToken
(token: string)
server/models/openai/tests/azure/chat_models.int.test.ts:181
FunctionhandleLLMNewToken
(token: string)
server/models/openai/tests/azure/llms.int.test.ts:196
MethodhandleStop
()
utils/audio-recorder.ts:74
FunctionhasBrandIcon
(serverKey: string)
composables/useBrandIcons.ts:136
Functionhighlight
(str, lang)
composables/markdown.ts:87
FunctionidentifyingParams
* Get the identifying parameters for the model
server/models/openai/chat_models.ts:761
MethodidentifyingParams
* Get the identifying parameters for the model
server/models/openai/llms.ts:239
Functioninvoke
(input: BaseLanguageModelInput, options?: CallOptions)
server/models/openai/chat_models.ts:967
MethodinvokeWithCacheReadInput
(stream: boolean = false)
server/models/openai/tests/chat_models.standard.int.test.ts:70
MethodinvokeWithReasoningOutput
(stream: boolean)
server/models/openai/tests/chat_models.standard.int.test.ts:58
FunctionisAdmin
(user: AuthUser | null)
server/utils/auth.ts:136
FunctionisKnownTransport
(transport: string)
server/types/mcp.ts:69
MethodisRecord
(obj: unknown)
server/models/openai/azure/llms.ts:164
FunctionisSuperAdmin
(user: AuthUser | null)
server/utils/auth.ts:144
FunctionlatexBlockPlugin
(md: MarkdownIt)
composables/markdown.ts:37
Functionlc_aliases
()
server/models/openai/chat_models.ts:684
Methodlc_aliases
()
server/models/openai/llms.ts:81
Methodlc_aliases
()
server/models/openai/azure/llms.ts:28
Methodlc_aliases
()
server/models/openai/azure/chat_models.ts:254
Methodlc_aliases
()
server/models/openai/azure/chat_models.ts:318
Methodlc_aliases
()
server/models/openai/azure/chat_models.ts:794
Methodlc_aliases
()
server/models/genai/generative-ai.ts:549
Functionlc_name
()
server/models/openai/chat_models.ts:655
Methodlc_name
()
server/models/openai/llms.ts:63
Methodlc_name
()
server/models/openai/tools/dalle.ts:101
Methodlc_name
()
server/models/genai/output_parsers.ts:19
Methodlc_name
()
server/models/genai/generative-ai.ts:535
Functionlc_secrets
()
server/models/openai/chat_models.ts:677
Methodlc_secrets
()
server/models/openai/llms.ts:73
Methodlc_secrets
()
server/models/openai/azure/llms.ts:42
Methodlc_secrets
()
server/models/openai/azure/chat_models.ts:261
Methodlc_secrets
()
server/models/openai/azure/chat_models.ts:325
Methodlc_secrets
()
server/models/openai/azure/chat_models.ts:801
Methodlc_secrets
()
server/models/genai/generative-ai.ts:541
Functionlc_serializable_keys
()
server/models/openai/chat_models.ts:691
Methodlc_serializable_keys
()
server/models/openai/chat_models.ts:3440
Methodlc_serializable_keys
()
server/models/openai/azure/chat_models.ts:268
Methodlc_serializable_keys
()
server/models/openai/azure/chat_models.ts:332
Methodlc_serializable_keys
()
server/models/openai/azure/chat_models.ts:808
FunctionloadKnowledgeBases
()
utils/settings.ts:72
MethodloadToolsFromJsonFile
()
server/utils/mcp.ts:80
Functionlogout
()
composables/useAuth.ts:99
FunctionmapGenerateContentResultToChatResult
( response: EnhancedGenerateContentResponse, extra?: { usageMetadata: UsageMetadata | undefined } )
server/models/genai/utils/common.ts:249
Methodmdelete
(_keys: string[])
server/docstore/redis.ts:96
Methodmget
(keys: string[])
server/docstore/redis.ts:83
Methodmset
(keyValuePairs: [string, Document][])
server/docstore/redis.ts:90
Functionnoop
()
composables/utils.ts:1
FunctionnormalizeMessages
(messages: RequestBody['messages'])
server/api/models/chat/index.post.ts:94
FunctiononMessage
(e: MessageEvent<WorkerSendMessage>)
composables/useChatWorker.ts:22
FunctiononReceivedMessage
(handler: Handler)
composables/useAgentWorker.ts:158
FunctiononReceivedMessage
(handler: Handler)
composables/useChatWorker.ts:30
Functionoverride
(ctx)
server/models/openai/utils/openai.ts:135
FunctionparseModelValue
(val: string)
composables/useModels.ts:136
MethodparseResult
(generations: ChatGeneration[])
server/models/genai/output_parsers.ts:61
Functionpick
(obj: O, keys: K[])
composables/helpers.ts:9
FunctionpreloadCommonIcons
()
composables/useBrandIcons.ts:143
Methodprocess
(inputs, outputs, parameters)
public/worklets/audio-processing.js:10
FunctionreconstructVersionHistory
* Reconstructs version history from existing messages in a session * Used when loading old sessions to rebuild version data
composables/useArtifacts.ts:395
FunctionregisterTool
(tool: Tool)
composables/useTools.ts:20
FunctionrenderCSS
(css: string)
utils/artifactRenderers.ts:49
FunctionrenderHTML
(html: string)
utils/artifactRenderers.ts:5
FunctionrenderJavaScript
(js: string)
utils/artifactRenderers.ts:27
FunctionrenderMermaidDiagrams
(container?: HTMLElement)
composables/markdown.ts:109
FunctionrequireAdmin
()
composables/useAuth.ts:111
FunctionrequireSuperAdmin
(event: H3Event)
server/utils/auth.ts:104
FunctionrequireSuperAdmin
()
composables/useAuth.ts:123
Functionreset
()
composables/useQuickChat.ts:29
FunctionresolveCoreference
( userInput: string, chatHistory: BaseMessage[], chatModel: BaseChatModel )
server/coref/index.ts:29
Methodresume
()
utils/audio-streamer.ts:136
MethodscanCallback
(err, result)
server/docstore/redis.ts:109
FunctionsendMessage
(data: AgentWorkerReceivedMessage)
composables/useAgentWorker.ts:136
FunctionsendMessage
(data: WorkerReceivedMessage)
composables/useChatWorker.ts:26
FunctionsendQuickChat
(userQuery: string, selectedContent?: string)
composables/useQuickChat.ts:36
MethodsendRealtimeInput
(chunks: GenerativeContentBlob[])
utils/MultimodalLiveClient.ts:217
MethodsendToolResponse
(toolResponse: ToolResponseMessage["toolResponse"])
utils/MultimodalLiveClient.ts:250
Functionsetup
(props)
composables/useDialog.ts:56
FunctionshareArtifact
* Creates a shareable link for an artifact (placeholder implementation)
composables/useArtifacts.ts:310
Methodstop
()
utils/audio-streamer.ts:112
Functionstream
(input: BaseLanguageModelInput, options?: CallOptions)
server/models/openai/chat_models.ts:960
MethodtestChatModelInitApiKey
()
server/models/openai/tests/chat_models.standard.test.ts:24
MethodtestChatModelInitApiKey
()
server/models/openai/tests/chat_models_responses.standard.test.ts:24
MethodtestChatModelInitApiKey
()
server/models/openai/tests/azure/chat_models.standard.test.ts:25
MethodtestInvokeMoreComplexTools
()
server/models/openai/tests/chat_models.standard.int.test.ts:95
MethodtestInvokeMoreComplexTools
()
server/models/openai/tests/chat_models_responses.standard.int.test.ts:29
MethodtestInvokeMoreComplexTools
()
server/models/openai/tests/azure/chat_models.standard.int.test.ts:49
MethodtestParallelToolCalling
()
server/models/openai/tests/chat_models.standard.int.test.ts:104
MethodtestParallelToolCalling
()
server/models/openai/tests/azure/chat_models.standard.int.test.ts:58
MethodtestStreamTokensWithToolCalls
()
server/models/openai/tests/azure/chat_models.standard.int.test.ts:41
MethodtestUsageMetadataStreaming
()
server/models/openai/tests/chat_models.standard.int.test.ts:83
MethodtestUsageMetadataStreaming
()
server/models/openai/tests/azure/chat_models.standard.int.test.ts:33
MethodtoJSON
()
server/models/openai/azure/llms.ts:161
MethodtoJSON
()
server/models/openai/azure/chat_models.ts:289
MethodtoJSON
()
server/models/openai/azure/chat_models.ts:353
FunctionunregisterTool
(toolName: string)
composables/useTools.ts:29
MethodupdateConfig
(newConfig: Partial<AutoTitleConfig>)
utils/autoTitleGeneration.ts:54
FunctionuseAgentWorker
()
composables/useAgentWorker.ts:32
FunctionuseArtifacts
()
composables/useArtifacts.ts:11
FunctionuseBrandIcons
()
composables/useBrandIcons.ts:67
MethoduseCachedContent
( cachedContent: CachedContent, modelParams?: ModelParams, requestOptions?: RequestOptions )
server/models/genai/generative-ai.ts:667
FunctionuseChatWorker
()
composables/useChatWorker.ts:7
← previousnext →401–500 of 516, ranked by callers