MCPcopy Create free account

hub / github.com/amrit110/oli / functions

Functions299 in github.com/amrit110/oli

↓ 1 callersMethodquery_model
Query the model with the given prompt
src/app/core.rs:281
↓ 1 callersMethodregister_subscription_handlers
Register subscription method handlers
src/communication/rpc.rs:230
↓ 1 callersMethodrun
Run the RPC server, processing stdin and writing to stdout
src/communication/rpc.rs:271
↓ 1 callersMethodscroll_to_top
Scroll to the top of the content
src/app/utils.rs:81
↓ 1 callersMethodset_conversation_history
(&mut self, history: Vec<Message>)
src/agent/executor.rs:38
↓ 1 callersFunctionset_global_rpc_server
Set global RPC server instance
src/communication/rpc.rs:141
↓ 1 callersFunctionsetupToolStatusSubscription
()
ui/src/components/App.tsx:48
↓ 1 callersFunctionspawnBackend
(path: string)
ui/src/services/backend.ts:175
↓ 1 callersMethodsubscribe
(&mut self, event_type: &str)
src/communication/rpc.rs:69
↓ 1 callersMethodsubscribe
(eventType: string)
ui/src/services/backend.ts:126
↓ 1 callersMethodtrim_if_needed
Trim messages if the count exceeds max_messages
src/apis/api_client.rs:122
↓ 1 callersMethodunsubscribe
(&mut self, event_type: &str, sub_id: u64)
src/communication/rpc.rs:78
↓ 1 callersMethodunsubscribe
(eventType: string)
ui/src/services/backend.ts:147
↓ 1 callersMethodupdate_progress
Update tool execution with a progress message
src/app/core.rs:197
↓ 1 callersMethodwith_model
(mut self, model: String)
src/agent/core.rs:54
↓ 1 callersMethodwrite_log_to_file
(&self, message: &str)
tests/app/test_logger.rs:42
FunctionAnimatedSpinner
({ color = "gray", })
ui/src/components/AnimatedSpinner.tsx:11
FunctionApp
({ backend, noHeader = false })
ui/src/components/App.tsx:24
FunctionChatInterface
({ messages, isProcessing, onSubmit, onInterrupt, showShortcuts = false, onToggleShortcuts, onCl
ui/src/components/ChatInterface.tsx:292
FunctionCommandPalette
({ visible, filterText, onSelect, onFilteredCommandsChange, onSelectedIndexChange, })
ui/src/components/CommandPalette.tsx:30
FunctionModelSelector
({ models, selectedIndex, onSelect, onConfirm, isLoading, })
ui/src/components/ModelSelector.tsx:27
FunctionShortcutsPanel
({ visible })
ui/src/components/ShortcutsPanel.tsx:11
FunctionStatusBar
({ modelName, isProcessing, backendConnected = false, showShortcuts = false, })
ui/src/components/StatusBar.tsx:15
FunctionStatusDisplay
({ toolExecutions, isProcessing, /* eslint-disable-next-line @typescript-eslint/no-unused-vars */ onIn
ui/src/components/StatusDisplay.tsx:14
FunctionStatusPanel
({ toolExecutions, isProcessing, /* eslint-disable-next-line @typescript-eslint/no-unused-vars */ onIn
ui/src/components/StatusPanel.tsx:18
FunctionTaskInterruptionHandler
({ isProcessing, onInterrupt, })
ui/src/components/TaskInterruptionHandler.tsx:12
FunctionToolStatusIndicator
({ status, data, compact = false, })
ui/src/components/ToolStatusIndicator.tsx:13
FunctionWelcomeBox
({ children }: { children: React.ReactNode })
ui/src/components/WelcomeBox.tsx:6
Methodadd_input_tokens
Add input tokens
src/app/state.rs:101
Methodadd_input_tokens
Add input tokens
src/app/core.rs:114
Methodadd_message
Add a message to the conversation history
src/agent/core.rs:74
Methodadd_tool_use
Increment tool count
src/app/state.rs:95
Methodassistant
(content: String)
src/apis/api_client.rs:26
Methodauto_scroll_to_bottom
Auto scroll messages to bottom
src/app/utils.rs:133
Functioncleanup
()
ui/src/cli.ts:117
Methodcleanup_old_tool_executions
Clean up old completed tool executions (older than 10 minutes)
src/app/core.rs:1073
Methodclear_history
(&mut self)
src/app/history.rs:170
Methodcolor_code
Get a color code for the log level
src/app/logger.rs:47
Methodcomplete
(&self, messages: Vec<Message>, options: CompletionOptions)
src/apis/anthropic.rs:280
Methodcomplete
( &self, messages: Vec<Message>, options: CompletionOptions, )
src/apis/api_client.rs:198
Methodcomplete
(&self, messages: Vec<Message>, options: CompletionOptions)
src/apis/openai.rs:157
Methodcomplete
(&self, messages: Vec<Message>, options: CompletionOptions)
src/apis/ollama.rs:301
Methodcomplete
Mark task as completed
src/app/state.rs:71
Methodcomplete_tool_execution
Complete a tool execution
src/app/core.rs:1025
Methodcomplete_with_tools
( &self, messages: Vec<Message>, options: CompletionOptions, tool_results: Opt
src/apis/anthropic.rs:373
Methodcomplete_with_tools
( &self, messages: Vec<Message>, options: CompletionOptions, tool_results: Opt
src/apis/openai.rs:248
Methodcomplete_with_tools
( &self, messages: Vec<Message>, options: CompletionOptions, tool_results: Opt
src/apis/ollama.rs:458
Methodcompress_context
(&mut self)
src/app/history.rs:64
Methodconstructor
(process: ChildProcess)
ui/src/services/backend.ts:31
FunctioncreateInterruptHandler
( backend: BackendService, setIsProcessing: (value: boolean) => void, addSystemMessage: (message: string
ui/src/components/TaskInterruptionHandler.tsx:30
Methodcreate_directory
(path: &Path)
src/tools/fs/file_ops.rs:134
Methodcurrent_model
Get the current model configuration
src/app/core.rs:274
Methodcurrent_task
Get the current task if any
src/app/core.rs:894
Methoddefault
()
src/apis/api_client.rs:46
Methoddefault
()
src/app/state.rs:143
Methoddefault
()
src/app/core.rs:1116
Methoddefault
()
src/communication/rpc.rs:56
Functiondeserialize
(deserializer: D)
src/apis/ollama.rs:40
Functiondetermine_agent_model
Helper function to determine the appropriate model for the agent based on provider
src/app/agent.rs:57
Functiondetermine_provider
Helper function to determine provider from model name
src/app/agent.rs:91
Methodedit_file
(path: &Path, old_string: &str, new_string: &str)
src/tools/fs/file_ops.rs:111
Methodexecute
(&self)
src/agent/tools.rs:87
Methodexecute
(&mut self)
src/agent/executor.rs:116
Methodfail
Mark task as failed
src/app/state.rs:89
Methodfail_tool_execution
Mark a tool execution as failed
src/app/core.rs:1055
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
src/errors.rs:32
Methodformat_diff
Format diff as a string with line numbers and colors
src/tools/fs/diff.rs:88
Methodgenerate_diff
Generate a diff between two strings
src/tools/fs/diff.rs:17
Methodgenerate_edit_diff
( path: &Path, old_string: &str, new_string: &str, )
src/tools/fs/file_ops.rs:86
Methodgenerate_write_diff
(path: &Path, content: &str)
src/tools/fs/file_ops.rs:49
FunctiongetCommand
(text: string)
ui/src/utils/commandUtils.ts:71
Methodget_file_info
(path: &Path)
src/tools/fs/file_ops.rs:141
Methodget_important_node_types
Gets a list of important node types for a given language # Arguments - `language` - Language to get node types for # Returns - `&[&str]` - Array of
src/tools/code/parser.rs:914
Methodget_log_directory
(&self)
tests/app/test_logger.rs:34
Methodget_log_file_path
(&self)
tests/app/test_logger.rs:38
Methodget_subscribers
(&self, event_type: &str)
src/communication/rpc.rs:95
Methodget_task_statuses
Get the task statuses for all tasks
src/app/state.rs:206
Methodget_task_statuses
Get the task statuses for all tasks
src/app/core.rs:861
Methodglob_search
(pattern: &str)
src/tools/fs/search.rs:12
Methodglob_search_in_dir
(dir: &Path, pattern: &str)
src/tools/fs/search.rs:32
Functionglob_to_regex
(glob_pattern: &str)
src/tools/fs/search.rs:105
Methodgrep_search
( pattern: &str, include_pattern: Option<&str>, search_dir: Option<&Path>, )
src/tools/fs/search.rs:38
FunctionhandleClearCommand
( command, state, setState, backend, additionalHandlers, )
ui/src/utils/commandHandlers.ts:60
FunctionhandleExitCommand
()
ui/src/utils/commandHandlers.ts:128
FunctionhandleHelpCommand
(command, state, setState)
ui/src/utils/commandHandlers.ts:23
FunctionhandleModelCommand
( command, state, setState, )
ui/src/utils/commandHandlers.ts:135
FunctionhandleToolStatus
(params: ToolStatusUpdate)
ui/src/components/App.tsx:58
Methodhandle_parse_code_command
Handle a parse_code command request with the given file path
src/app/agent.rs:12
Methodhas_active_tasks
Check if there are any active tasks
src/app/state.rs:201
Methodhas_active_tasks
Check if there are any active tasks
src/app/core.rs:856
Methodhas_more_above
Determine if we need to show the "more above" indicator
src/app/utils.rs:104
Methodhas_more_below
Determine if we need to show the "more below" indicator
src/app/utils.rs:109
Methodinitialize
(&mut self)
src/agent/core.rs:78
Methodis_running
Check if the server is running
src/communication/rpc.rs:266
Methodlist_directory
(path: &Path)
src/tools/fs/file_ops.rs:117
Methodlog
(&mut self, _message: &str, _args: &[&str])
tests/app/test_logger.rs:26
Functionmain
()
build.rs:1
Functionmain
()
src/main.rs:11
Methodnew
Creates a new CodeParser instance with initialized language support and default configuration. # Returns - `Result<Self>` - A new CodeParser instance
src/tools/code/parser.rs:335
Methodnew
(model: Option<String>)
src/apis/anthropic.rs:193
← previousnext →101–200 of 299, ranked by callers