MCPcopy Create free account

hub / github.com/dhanji/g3 / functions

Functions3,053 in github.com/dhanji/g3

Methodfilter_json_tool_calls
(&self, content: &str)
crates/g3-core/tests/streaming_completion_test.rs:321
Methodfilter_json_tool_calls
(&self, content: &str)
crates/g3-cli/src/ui_writer_impl.rs:1095
Methodfind_complete_json_object_end
(text: &str)
crates/g3-core/src/streaming_parser.rs:556
Methodfind_elements
(&mut self, selector: &str)
crates/g3-computer-control/src/webdriver/chrome.rs:382
Methodfind_elements
(&mut self, selector: &str)
crates/g3-computer-control/src/webdriver/safari.rs:186
Methodfind_first_tool_call_start
--- Static Methods (for external use) ---
crates/g3-core/src/streaming_parser.rs:544
Methodfind_json_end
Find the end position of a JSON object.
crates/g3-core/src/context_window.rs:770
Methodfind_last_tool_call_start
(text: &str)
crates/g3-core/src/streaming_parser.rs:548
Methodfinish_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
Methodfinish_streaming_markdown
(&self)
crates/g3-core/tests/streaming_completion_test.rs:319
Methodfinish_streaming_markdown
(&self)
crates/g3-cli/src/ui_writer_impl.rs:1027
Methodfinished
Create a final chunk with stop reason
crates/g3-providers/src/mock.rs:74
Methodfirst_stream_completed
(&self)
crates/g3-core/tests/streaming_completion_test.rs:48
Functionfirst_tool_checked_against_previous
()
crates/g3-core/tests/stream_completion_characterization_test.rs:383
Methodfive_minute
()
crates/g3-providers/src/lib.rs:83
Functionfix_mixed_quotes_converts_single_to_double
()
crates/g3-core/src/utils.rs:642
Functionfix_nested_quotes_in_shell_command
(json_str: &str)
crates/g3-core/src/utils.rs:443
Methodflush
(&self)
crates/g3-core/tests/streaming_completion_test.rs:318
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/g3-core/src/pending_research.rs:29
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
crates/g3-core/src/tools/plan.rs:43
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
crates/g3-core/src/tools/invariants.rs:35
Functionformat_duration_short
Format duration in short form
crates/studio/src/main.rs:766
Functionformat_elapsed_time
Format a Duration as human-readable elapsed time (e.g., "1h 23m 45s").
crates/g3-cli/src/metrics.rs:14
Functionformat_evaluation_results
Format rulespec evaluation results for display.
crates/g3-core/src/tools/invariants.rs:917
Methodformat_prefix
()
crates/g3-cli/src/g3_status.rs:191
Methodformat_report
Format the report as a human-readable string
crates/g3-computer-control/src/webdriver/diagnostics.rs:47
Methodformat_status
Format a status for inline use (returns formatted string).
crates/g3-cli/src/g3_status.rs:148
Functionformat_write_file_summary
Format a write_file result summary.
crates/g3-core/src/streaming.rs:423
Methodforward
Go forward in browser history
crates/g3-computer-control/src/webdriver/chrome.rs:247
Methodforward
Go forward in browser history
crates/g3-computer-control/src/webdriver/safari.rs:53
Methodfrom_combined_content
Create from combined content string by detecting markers.
crates/g3-cli/src/display.rs:128
Methodfrom_file
Parse a SKILL.md file from disk.
crates/g3-core/src/skills/parser.rs:109
Methodfrom_file
Load a theme from a JSON file
crates/g3-cli/src/theme.rs:88
Methodfrom_input
Parse user input into a recovery choice
crates/g3-planner/src/state.rs:108
Methodfrom_oauth
( host: String, model: String, max_tokens: Option<u32>, temperature: Option<f3
crates/g3-providers/src/databricks.rs:262
Methodfrom_oauth_with_name
Create a DatabricksProvider with OAuth auth and a custom name (e.g., "databricks.default")
crates/g3-providers/src/databricks.rs:290
Methodfrom_str
(s: &str)
crates/g3-core/src/tools/plan.rs:56
Methodfrom_token
( host: String, token: String, model: String, max_tokens: Option<u32>,
crates/g3-providers/src/databricks.rs:207
Methodfrom_token_with_name
Create a DatabricksProvider with token auth and a custom name (e.g., "databricks.default")
crates/g3-providers/src/databricks.rs:236
Methodgenerate_id
Generate a unique research ID
crates/g3-core/src/pending_research.rs:140
Methodgenerate_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
Methodget
Get info about a specific process by name
crates/g3-core/src/background_process.rs:170
Functionget_all_toolsets
Get all available toolsets.
crates/g3-core/src/toolsets.rs:79
Methodget_configured_context_length
( config: &Config, providers: &ProviderRegistry, warnings: &mut Vec<String>, )
crates/g3-core/src/lib.rs:680
Methodget_content_before_position
(&self, pos: usize)
crates/g3-core/src/streaming_parser.rs:476
Methodget_context
(source: &str, line: usize, context_lines: usize)
crates/g3-core/src/code_search/searcher.rs:346
Methodget_cookies
Get cookies
crates/g3-computer-control/src/webdriver/chrome.rs:289
Methodget_cookies
Get cookies
crates/g3-computer-control/src/webdriver/safari.rs:96
Methodget_default_provider_config
Get the current default provider's config
crates/g3-config/src/lib.rs:701
Functionget_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
Methodget_embedded_config
Get Embedded config by name
crates/g3-config/src/lib.rs:691
Functionget_excluded_planner_tools
Tools NOT available to the planner agent
crates/g3-planner/src/planner.rs:562
Methodget_fact
Get a fact by key.
crates/g3-core/src/tools/invariants.rs:357
Methodget_gemini_config
Get Gemini config by name
crates/g3-config/src/lib.rs:696
Functionget_planner_tools
Tools available to the planner agent
crates/g3-planner/src/planner.rs:551
Functionget_repo_root
Get the root directory of the git repository
crates/g3-planner/src/git.rs:47
Functionget_stage
(name: &str)
crates/studio/src/sdlc.rs:347
Functionget_stage_index
(name: &str)
crates/studio/src/sdlc.rs:353
Functionget_summary_max_tokens_cap
Get the provider-specific cap for summary max_tokens.
crates/g3-core/src/provider_config.rs:185
Methodget_todo_path
Get the path to the TODO file (session-scoped or workspace).
crates/g3-core/src/tools/executor.rs:39
Methodget_tool_call_metrics
(&self)
crates/g3-core/src/lib.rs:1563
Methodget_ttft
(&self)
crates/g3-core/src/streaming.rs:49
Methodhas_native_tool_calling
(&self)
crates/g3-providers/src/anthropic.rs:879
Methodhas_native_tool_calling
(&self)
crates/g3-providers/src/databricks.rs:909
Methodhas_native_tool_calling
Check if the provider supports native tool calling
crates/g3-providers/src/lib.rs:28
Methodhas_native_tool_calling
(&self)
crates/g3-providers/src/openai.rs:403
Methodhas_native_tool_calling
(&self)
crates/g3-providers/src/mock.rs:499
Methodhas_native_tool_calling
(&self)
crates/g3-providers/src/gemini.rs:616
Methodhas_project_content
Check if there is currently project content loaded.
crates/g3-core/src/lib.rs:1540
Methodhas_tasks
Check if there are any tasks (pending or ready)
crates/g3-core/src/pending_research.rs:290
Functionhas_valid_continuation
Check if a continuation exists and is valid
crates/g3-core/src/session_continuation.rs:358
Methodhint
(&self, _line: &str, _pos: usize, _ctx: &Context<'_>)
crates/g3-cli/src/completion.rs:328
Methodhistory_path
Get the path to planner_history.txt
crates/g3-planner/src/planner.rs:56
Methodhtml
Get the element's HTML
crates/g3-computer-control/src/webdriver/mod.rs:83
Functionincomplete_tool_triggers_continue
()
crates/g3-core/tests/stream_completion_characterization_test.rs:233
Methodinfo
(message: &str)
crates/g3-cli/src/g3_status.rs:138
Functioninline_patterns_ignored
()
crates/g3-core/tests/stream_completion_characterization_test.rs:722
Methodis_approved
Check if the feedback indicates approval
crates/g3-core/src/feedback_extraction.rs:47
Methodis_approved
Check if the response contains an approval (for autonomous mode)
crates/g3-core/src/task_result.rs:82
Functionis_empty_response
Determine if a response is essentially empty (whitespace or timing only)
crates/g3-core/src/streaming.rs:659
Functionis_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
Methodis_enabled
Check if element is enabled
crates/g3-computer-control/src/webdriver/mod.rs:93
Methodis_fallback
Check if the feedback is a fallback/default
crates/g3-core/src/feedback_extraction.rs:52
Methodis_in_json_tool_call
(&self)
crates/g3-core/src/streaming_parser.rs:526
Methodis_language_file
(path: &Path, language: &str)
crates/g3-core/src/code_search/searcher.rs:327
Methodis_message_stopped
(&self)
crates/g3-core/src/streaming_parser.rs:484
Methodis_old_format
Check if the config content uses the old format
crates/g3-config/src/lib.rs:394
Methodis_on_own_line
(text: &str, pos: usize)
crates/g3-core/src/streaming_parser.rs:552
Methodis_plan_mode
Check if plan mode is active
crates/g3-core/src/lib.rs:1675
Methodis_running
Check if a process is still running
crates/g3-core/src/background_process.rs:176
Methodis_selected
Check if element is selected (for checkboxes/radio buttons)
crates/g3-computer-control/src/webdriver/mod.rs:98
Methodis_summary
Check if this message is a summary
crates/g3-providers/src/lib.rs:345
Methodis_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
Methodis_warning_or_error
(&self)
crates/g3-core/src/tools/plan.rs:335
Methodjson_tool_start_position
(&self)
crates/g3-core/src/streaming_parser.rs:530
Methodlist
(&self)
crates/studio/src/git.rs:158
Methodlist_all
List all sessions
crates/studio/src/session.rs:170
Methodlist_all
List all research tasks (including injected ones)
crates/g3-core/src/pending_research.rs:236
Methodlist_providers
(&self)
crates/g3-providers/src/lib.rs:408
Functionllm_tokens_cleaned
()
crates/g3-core/tests/stream_completion_characterization_test.rs:666
← previousnext →1,101–1,200 of 3,053, ranked by callers