Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dhanji/g3
/ functions
Functions
3,053 in github.com/dhanji/g3
⨍
Functions
3,053
◇
Types & classes
258
Method
filter_json_tool_calls
(&self, content: &str)
crates/g3-core/tests/streaming_completion_test.rs:321
Method
filter_json_tool_calls
(&self, content: &str)
crates/g3-cli/src/ui_writer_impl.rs:1095
Method
find_complete_json_object_end
(text: &str)
crates/g3-core/src/streaming_parser.rs:556
Method
find_elements
(&mut self, selector: &str)
crates/g3-computer-control/src/webdriver/chrome.rs:382
Method
find_elements
(&mut self, selector: &str)
crates/g3-computer-control/src/webdriver/safari.rs:186
Method
find_first_tool_call_start
--- Static Methods (for external use) ---
crates/g3-core/src/streaming_parser.rs:544
Method
find_json_end
Find the end position of a JSON object.
crates/g3-core/src/context_window.rs:770
Method
find_last_tool_call_start
(text: &str)
crates/g3-core/src/streaming_parser.rs:548
Method
finish_streaming_markdown
Finish the streaming markdown formatter and flush any remaining content. Called at the end of an agent response to emit any buffered markdown. Also re
crates/g3-core/src/ui_writer.rs:144
Method
finish_streaming_markdown
(&self)
crates/g3-core/tests/streaming_completion_test.rs:319
Method
finish_streaming_markdown
(&self)
crates/g3-cli/src/ui_writer_impl.rs:1027
Method
finished
Create a final chunk with stop reason
crates/g3-providers/src/mock.rs:74
Method
first_stream_completed
(&self)
crates/g3-core/tests/streaming_completion_test.rs:48
Function
first_tool_checked_against_previous
()
crates/g3-core/tests/stream_completion_characterization_test.rs:383
Method
five_minute
()
crates/g3-providers/src/lib.rs:83
Function
fix_mixed_quotes_converts_single_to_double
()
crates/g3-core/src/utils.rs:642
Function
fix_nested_quotes_in_shell_command
(json_str: &str)
crates/g3-core/src/utils.rs:443
Method
flush
(&self)
crates/g3-core/tests/streaming_completion_test.rs:318
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/g3-core/src/pending_research.rs:29
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
crates/g3-core/src/tools/plan.rs:43
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/g3-core/src/tools/invariants.rs:35
Function
format_duration_short
Format duration in short form
crates/studio/src/main.rs:766
Function
format_elapsed_time
Format a Duration as human-readable elapsed time (e.g., "1h 23m 45s").
crates/g3-cli/src/metrics.rs:14
Function
format_evaluation_results
Format rulespec evaluation results for display.
crates/g3-core/src/tools/invariants.rs:917
Method
format_prefix
()
crates/g3-cli/src/g3_status.rs:191
Method
format_report
Format the report as a human-readable string
crates/g3-computer-control/src/webdriver/diagnostics.rs:47
Method
format_status
Format a status for inline use (returns formatted string).
crates/g3-cli/src/g3_status.rs:148
Function
format_write_file_summary
Format a write_file result summary.
crates/g3-core/src/streaming.rs:423
Method
forward
Go forward in browser history
crates/g3-computer-control/src/webdriver/chrome.rs:247
Method
forward
Go forward in browser history
crates/g3-computer-control/src/webdriver/safari.rs:53
Method
from_combined_content
Create from combined content string by detecting markers.
crates/g3-cli/src/display.rs:128
Method
from_file
Parse a SKILL.md file from disk.
crates/g3-core/src/skills/parser.rs:109
Method
from_file
Load a theme from a JSON file
crates/g3-cli/src/theme.rs:88
Method
from_input
Parse user input into a recovery choice
crates/g3-planner/src/state.rs:108
Method
from_oauth
( host: String, model: String, max_tokens: Option<u32>, temperature: Option<f3
crates/g3-providers/src/databricks.rs:262
Method
from_oauth_with_name
Create a DatabricksProvider with OAuth auth and a custom name (e.g., "databricks.default")
crates/g3-providers/src/databricks.rs:290
Method
from_str
(s: &str)
crates/g3-core/src/tools/plan.rs:56
Method
from_token
( host: String, token: String, model: String, max_tokens: Option<u32>,
crates/g3-providers/src/databricks.rs:207
Method
from_token_with_name
Create a DatabricksProvider with token auth and a custom name (e.g., "databricks.default")
crates/g3-providers/src/databricks.rs:236
Method
generate_id
Generate a unique research ID
crates/g3-core/src/pending_research.rs:140
Method
generate_id
Generate a unique message ID in format HHMMSS-XXX where XXX are 3 random alphanumeric characters (upper and lowercase)
crates/g3-providers/src/lib.rs:277
Method
get
Get info about a specific process by name
crates/g3-core/src/background_process.rs:170
Function
get_all_toolsets
Get all available toolsets.
crates/g3-core/src/toolsets.rs:79
Method
get_configured_context_length
( config: &Config, providers: &ProviderRegistry, warnings: &mut Vec<String>, )
crates/g3-core/src/lib.rs:680
Method
get_content_before_position
(&self, pos: usize)
crates/g3-core/src/streaming_parser.rs:476
Method
get_context
(source: &str, line: usize, context_lines: usize)
crates/g3-core/src/code_search/searcher.rs:346
Method
get_cookies
Get cookies
crates/g3-computer-control/src/webdriver/chrome.rs:289
Method
get_cookies
Get cookies
crates/g3-computer-control/src/webdriver/safari.rs:96
Method
get_default_provider_config
Get the current default provider's config
crates/g3-config/src/lib.rs:701
Function
get_discovery_dir
Get the path to the discovery logs directory (for planner mode). Returns `.g3/discovery/` in the workspace or current directory.
crates/g3-core/src/paths.rs:53
Method
get_embedded_config
Get Embedded config by name
crates/g3-config/src/lib.rs:691
Function
get_excluded_planner_tools
Tools NOT available to the planner agent
crates/g3-planner/src/planner.rs:562
Method
get_fact
Get a fact by key.
crates/g3-core/src/tools/invariants.rs:357
Method
get_gemini_config
Get Gemini config by name
crates/g3-config/src/lib.rs:696
Function
get_planner_tools
Tools available to the planner agent
crates/g3-planner/src/planner.rs:551
Function
get_repo_root
Get the root directory of the git repository
crates/g3-planner/src/git.rs:47
Function
get_stage
(name: &str)
crates/studio/src/sdlc.rs:347
Function
get_stage_index
(name: &str)
crates/studio/src/sdlc.rs:353
Function
get_summary_max_tokens_cap
Get the provider-specific cap for summary max_tokens.
crates/g3-core/src/provider_config.rs:185
Method
get_todo_path
Get the path to the TODO file (session-scoped or workspace).
crates/g3-core/src/tools/executor.rs:39
Method
get_tool_call_metrics
(&self)
crates/g3-core/src/lib.rs:1563
Method
get_ttft
(&self)
crates/g3-core/src/streaming.rs:49
Method
has_native_tool_calling
(&self)
crates/g3-providers/src/anthropic.rs:879
Method
has_native_tool_calling
(&self)
crates/g3-providers/src/databricks.rs:909
Method
has_native_tool_calling
Check if the provider supports native tool calling
crates/g3-providers/src/lib.rs:28
Method
has_native_tool_calling
(&self)
crates/g3-providers/src/openai.rs:403
Method
has_native_tool_calling
(&self)
crates/g3-providers/src/mock.rs:499
Method
has_native_tool_calling
(&self)
crates/g3-providers/src/gemini.rs:616
Method
has_project_content
Check if there is currently project content loaded.
crates/g3-core/src/lib.rs:1540
Method
has_tasks
Check if there are any tasks (pending or ready)
crates/g3-core/src/pending_research.rs:290
Function
has_valid_continuation
Check if a continuation exists and is valid
crates/g3-core/src/session_continuation.rs:358
Method
hint
(&self, _line: &str, _pos: usize, _ctx: &Context<'_>)
crates/g3-cli/src/completion.rs:328
Method
history_path
Get the path to planner_history.txt
crates/g3-planner/src/planner.rs:56
Method
html
Get the element's HTML
crates/g3-computer-control/src/webdriver/mod.rs:83
Function
incomplete_tool_triggers_continue
()
crates/g3-core/tests/stream_completion_characterization_test.rs:233
Method
info
(message: &str)
crates/g3-cli/src/g3_status.rs:138
Function
inline_patterns_ignored
()
crates/g3-core/tests/stream_completion_characterization_test.rs:722
Method
is_approved
Check if the feedback indicates approval
crates/g3-core/src/feedback_extraction.rs:47
Method
is_approved
Check if the response contains an approval (for autonomous mode)
crates/g3-core/src/task_result.rs:82
Function
is_empty_response
Determine if a response is essentially empty (whitespace or timing only)
crates/g3-core/src/streaming.rs:659
Function
is_empty_response
Tests for the auto-continue detection features These tests verify the logic used to detect when the LLM should auto-continue: 1. Empty/trivial respon
crates/g3-core/tests/auto_continue_test.rs:10
Method
is_enabled
Check if element is enabled
crates/g3-computer-control/src/webdriver/mod.rs:93
Method
is_fallback
Check if the feedback is a fallback/default
crates/g3-core/src/feedback_extraction.rs:52
Method
is_in_json_tool_call
(&self)
crates/g3-core/src/streaming_parser.rs:526
Method
is_language_file
(path: &Path, language: &str)
crates/g3-core/src/code_search/searcher.rs:327
Method
is_message_stopped
(&self)
crates/g3-core/src/streaming_parser.rs:484
Method
is_old_format
Check if the config content uses the old format
crates/g3-config/src/lib.rs:394
Method
is_on_own_line
(text: &str, pos: usize)
crates/g3-core/src/streaming_parser.rs:552
Method
is_plan_mode
Check if plan mode is active
crates/g3-core/src/lib.rs:1675
Method
is_running
Check if a process is still running
crates/g3-core/src/background_process.rs:176
Method
is_selected
Check if element is selected (for checkboxes/radio buttons)
crates/g3-computer-control/src/webdriver/mod.rs:98
Method
is_summary
Check if this message is a summary
crates/g3-providers/src/lib.rs:345
Method
is_valid_tool_name
Check if a string is a valid tool name Pattern: starts with letter or underscore, followed by alphanumeric or underscore
crates/g3-providers/src/embedded/adapters/glm.rs:163
Method
is_warning_or_error
(&self)
crates/g3-core/src/tools/plan.rs:335
Method
json_tool_start_position
(&self)
crates/g3-core/src/streaming_parser.rs:530
Method
list
(&self)
crates/studio/src/git.rs:158
Method
list_all
List all sessions
crates/studio/src/session.rs:170
Method
list_all
List all research tasks (including injected ones)
crates/g3-core/src/pending_research.rs:236
Method
list_providers
(&self)
crates/g3-providers/src/lib.rs:408
Function
llm_tokens_cleaned
()
crates/g3-core/tests/stream_completion_characterization_test.rs:666
← previous
next →
1,101–1,200 of 3,053, ranked by callers