Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amrit110/oli
/ functions
Functions
299 in github.com/amrit110/oli
⨍
Functions
299
◇
Types & classes
116
Method
new
Create a new session manager with a specific message capacity
src/apis/api_client.rs:57
Method
new
(model: Option<String>)
src/apis/openai.rs:96
Method
new
(model: Option<String>)
src/apis/ollama.rs:179
Method
new
Create a new scroll state
src/app/utils.rs:18
Method
new
Create a new in-progress task
src/app/state.rs:56
Method
new
(name: &str, description: &str)
src/app/commands.rs:11
Method
new
(content: String, messages_count: usize, original_chars: usize)
src/app/history.rs:29
Method
new
Create a new in-progress task
src/app/core.rs:55
Method
new
()
src/communication/rpc.rs:65
Method
new
(api_client: DynApiClient)
src/agent/executor.rs:20
Method
new
(provider: LLMProvider)
src/agent/core.rs:32
Method
new
(log_directory: PathBuf, log_file_path: PathBuf)
tests/app/test_logger.rs:16
Method
new_with_api_key
(provider: LLMProvider, api_key: String)
src/agent/core.rs:44
Method
read_file
(path: &Path)
src/tools/fs/file_ops.rs:11
Method
read_file_lines
(path: &Path, offset: usize, limit: Option<usize>)
src/tools/fs/file_ops.rs:31
Method
read_file_with_line_numbers
(path: &Path)
src/tools/fs/file_ops.rs:20
Method
scroll_down
Scroll message view down by amount
src/app/utils.rs:128
Method
scroll_tasks_down
Scroll task list down by amount
src/app/utils.rs:143
Method
scroll_tasks_up
Scroll task list up by amount
src/app/utils.rs:138
Method
scroll_up
Scroll message view up by amount
src/app/utils.rs:123
Function
serialize
(content: &str, serializer: S)
src/apis/ollama.rs:33
Method
session_to_display_messages
(&self, session_messages: &[Message])
src/app/history.rs:237
Method
should_compress
(&self)
src/app/history.rs:141
Method
start_tool_execution
Start a new tool execution
src/app/core.rs:943
Method
summary_count
(&self)
src/app/history.rs:166
Method
system
(content: String)
src/apis/api_client.rs:12
Function
test_add_messages
()
tests/apis/test_api_client.rs:149
Function
test_api_client_enum_construction
()
tests/apis/test_api_client_enum.rs:37
Function
test_clear
()
tests/apis/test_api_client.rs:185
Function
test_clear_history
()
tests/app/test_history.rs:55
Function
test_combined_glob_and_grep
()
tests/tools/fs/test_search.rs:429
Function
test_completion_options
()
tests/apis/test_api_client.rs:85
Function
test_conversation_char_count
()
tests/app/test_history.rs:5
Function
test_create_simplified_ast
()
tests/tools/code/test_parser.rs:177
Function
test_detect_language
()
tests/tools/code/test_parser.rs:5
Function
test_determine_relevant_files
()
tests/tools/code/test_parser.rs:128
Function
test_determine_relevant_files
()
tests/integration/test_code_parser.rs:290
Function
test_dimension_updates
()
tests/app/test_scroll.rs:96
Function
test_edit_file
()
tests/tools/fs/test_file_ops.rs:78
Function
test_edit_file_with_multiple_occurrences
()
tests/tools/fs/test_file_ops.rs:159
Function
test_edit_file_with_non_existent_pattern
()
tests/tools/fs/test_file_ops.rs:175
Function
test_enum_variant_matching
()
tests/apis/test_api_client_enum.rs:45
Function
test_extract_search_terms
()
tests/tools/code/test_parser.rs:96
Function
test_extract_search_terms
()
tests/integration/test_code_parser.rs:267
Function
test_file_operations_errors
()
tests/tools/fs/test_file_ops.rs:145
Function
test_format_log
()
tests/app/test_logger.rs:71
Function
test_format_log_with_color
()
tests/app/test_logger.rs:86
Function
test_generate_llm_friendly_ast
()
tests/integration/test_code_parser.rs:6
Function
test_get_messages_for_api
()
tests/apis/test_api_client.rs:165
Function
test_glob_search_in_dir
()
tests/tools/fs/test_search.rs:176
Function
test_glob_search_no_matches
()
tests/tools/fs/test_search.rs:216
Function
test_glob_search_single_pattern
()
tests/tools/fs/test_search.rs:152
Function
test_glob_search_sorting
()
tests/tools/fs/test_search.rs:243
Function
test_glob_search_specific_file
()
tests/tools/fs/test_search.rs:229
Function
test_glob_search_with_multiple_patterns
()
tests/tools/fs/test_search.rs:199
Function
test_glob_to_regex_conversion
()
tests/tools/fs/test_search.rs:409
Function
test_grep_search_case_sensitivity
()
tests/tools/fs/test_search.rs:339
Function
test_grep_search_complex_regex
()
tests/tools/fs/test_search.rs:314
Function
test_grep_search_match_ordering
()
tests/tools/fs/test_search.rs:382
Function
test_grep_search_no_matches
()
tests/tools/fs/test_search.rs:370
Function
test_grep_search_simple_pattern
()
tests/tools/fs/test_search.rs:267
Function
test_grep_search_with_include_pattern
()
tests/tools/fs/test_search.rs:283
Function
test_list_directory
()
tests/tools/fs/test_file_ops.rs:96
Function
test_log_level_as_str
()
tests/app/test_logger.rs:55
Function
test_log_level_color_code
()
tests/app/test_logger.rs:63
Function
test_logger_get_paths
()
tests/app/test_logger.rs:114
Function
test_logger_toggle_log_view
()
tests/app/test_logger.rs:98
Function
test_message_count
()
tests/apis/test_api_client.rs:200
Function
test_message_creation
()
tests/apis/test_api_client.rs:10
Function
test_page_scroll
()
tests/app/test_scroll.rs:42
Function
test_parallel_processing
()
tests/integration/test_code_parser.rs:311
Function
test_parse_codebase
()
tests/integration/test_code_parser.rs:60
Function
test_parse_file_with_tree_sitter
()
tests/integration/test_code_parser.rs:132
Function
test_parse_javascript_file
()
tests/integration/test_code_parser.rs:205
Function
test_read_file
()
tests/tools/fs/test_file_ops.rs:16
Function
test_read_file_lines_edge_cases
()
tests/tools/fs/test_file_ops.rs:118
Function
test_read_file_lines_with_offset_and_limit
()
tests/tools/fs/test_file_ops.rs:37
Function
test_read_file_with_line_numbers
()
tests/tools/fs/test_file_ops.rs:26
Function
test_replace_with_summary
()
tests/apis/test_api_client.rs:213
Function
test_scroll_bounds
()
tests/app/test_scroll.rs:15
Function
test_scroll_indicators
()
tests/app/test_scroll.rs:74
Function
test_scroll_state_creation
()
tests/app/test_scroll.rs:6
Function
test_session_manager_creation
()
tests/apis/test_api_client.rs:125
Function
test_should_compress
()
tests/app/test_history.rs:21
Function
test_summary_count
()
tests/app/test_history.rs:47
Function
test_tool_structures
()
tests/apis/test_api_client.rs:29
Function
test_with_system_message
()
tests/apis/test_api_client.rs:135
Function
test_write_file
()
tests/tools/fs/test_file_ops.rs:64
Function
test_write_log_to_file
()
tests/app/test_logger.rs:126
Method
update_tool_progress
Update tool execution progress
src/app/core.rs:995
Method
user
(content: String)
src/apis/api_client.rs:19
Method
with_api_key
(api_key: String, model: Option<String>)
src/apis/anthropic.rs:201
Method
with_api_key
(api_key: String, model: Option<String>)
src/apis/openai.rs:104
Method
with_base_url
(model: String, api_base: String)
src/apis/ollama.rs:189
Method
with_config
Creates a new CodeParser instance with custom configuration. # Arguments - `cache_size_limit` - Optional cache size limit in bytes (default: 50MB) -
src/tools/code/parser.rs:349
Method
with_progress_sender
(mut self, sender: mpsc::Sender<String>)
src/agent/executor.rs:103
Method
with_system_prompt
(mut self, prompt: String)
src/agent/core.rs:59
Method
write_file
(path: &Path, content: &str)
src/tools/fs/file_ops.rs:66
Method
write_file_with_diff
(path: &Path, content: &str)
src/tools/fs/file_ops.rs:80
← previous
201–299 of 299, ranked by callers