MCPcopy Create free account

hub / github.com/HazyResearch/minions / functions

Functions1,660 in github.com/HazyResearch/minions

↓ 4 callersFunctionget_auth_manager
Get the global auth manager.
apps/minions-a2a/a2a_minions/auth.py:443
↓ 4 callersMethodhandle_oauth_token
Handle OAuth2 token requests.
apps/minions-a2a/a2a_minions/auth.py:378
↓ 4 callersMethodlist_models
List available models from the OpenAI API. Returns: Dict containing the models data from the OpenAI API response
minions/clients/openai.py:316
↓ 4 callersFunctionpdf_to_images
Convert a PDF file to a list of PIL Image objects. Args: pdf_data: Path to the PDF file or PDF data as bytes dpi: Resolution
minions/utils/doc_processing.py:158
↓ 4 callersMethodtrack_task_eviction
Track a task eviction.
apps/minions-a2a/a2a_minions/metrics.py:206
↓ 4 callersMethodupdateStatus
(status, message, emoji = '🔄')
apps/minions-docker/web-minions/main.js:125
↓ 4 callersMethodupdateStatus
(status, message, emoji = '🔄')
apps/minions-docker/web/main.js:59
↓ 4 callersMethodupdate_stored_tasks
Update stored tasks count.
apps/minions-a2a/a2a_minions/metrics.py:202
↓ 4 callersMethodwait_for_completion
Wait for task completion with configurable polling.
apps/minions-a2a/tests/integration/test_client_minion.py:154
↓ 3 callersMethod__init__
Initialize the MLX LM client. Args: model_name: The name or path of the model to use (default: "mlx-community/Llama-3.2-
minions/clients/mlx_clients.py:109
↓ 3 callersFunction_extract_text
Extract text from a client response item which may be a str or a dict.
minions/minion_rlm.py:29
↓ 3 callersMethod_format_jobs_list
Format jobs list for display.
apps/minions-a2a/a2a_minions/converters.py:451
↓ 3 callersMethod_format_workspace_state
Format workspace state for inclusion in prompts.
minions/minion_code.py:718
↓ 3 callersMethod_get_local_client_config
Get local client configuration.
apps/minions-a2a/a2a_minions/client_factory.py:174
↓ 3 callersMethod_save_api_keys
Save API keys to file.
apps/minions-a2a/a2a_minions/auth.py:73
↓ 3 callersMethod_theoretical_tok_s
(self)
minions/utils/inference_estimator.py:230
↓ 3 callersFunctioncallback
(event)
apps/minions-a2a/examples/webapp/app.py:320
↓ 3 callersMethodcancel_task
Cancel a task.
apps/minions-a2a/tests/integration/test_client_minion.py:137
↓ 3 callersMethodchat
Handle chat completions using the OpenAI client, but route to NotDiamond Args: messages: List of message dictionaries wi
minions/clients/notdiamond.py:80
↓ 3 callersMethodchat
Handle synchronous chat completions. If you pass a list of message dicts, we do one call for that entire conversation. If you pass a
secure/utils/clients/ollama.py:226
↓ 3 callersMethodclear_conversation
Clear the conversation history but keep the secure connection
secure/minions_chat.py:477
↓ 3 callersMethodcomplete
Generate text completions for the given prompts. Args: prompts: Prompt text(s) to complete **kwargs:
minions/clients/base.py:112
↓ 3 callersMethodconvert_minions_result_to_a2a
Convert Minions result to A2A artifact format.
apps/minions-a2a/a2a_minions/converters.py:309
↓ 3 callersMethodcreate_client_configs
Create client configuration dictionaries for local and remote clients.
apps/minions-a2a/a2a_minions/config.py:143
↓ 3 callersFunctioncreate_minions_instance
Create and return a new minions instance with configured clients.
apps/minions-docker/minions_http_server.py:119
↓ 3 callersMethodcreate_streaming_event
Create A2A streaming event from Minions callback.
apps/minions-a2a/a2a_minions/converters.py:391
↓ 3 callersMethodend_session
End the secure session and clear all sensitive data
minions/clients/secure.py:360
↓ 3 callersMethodestimate
(self, n_tokens: int)
minions/utils/inference_estimator.py:237
↓ 3 callersMethodexecute_tool
Execute a tool with the given parameters synchronously
minions/minions_mcp.py:197
↓ 3 callersMethodextract_task_and_context
Extract task, context, and file paths from A2A message. Legacy method for backwards compatibility. Returns:
apps/minions-a2a/a2a_minions/converters.py:66
↓ 3 callersFunctionextract_text_from_pdf
Extract text content from a PDF file
secure/utils/processing_utils.py:11
↓ 3 callersFunctionextract_text_from_txt
Extract text content from a .txt file
secure/utils/processing_utils.py:48
↓ 3 callersFunctionget_default_agent_card
Get the default public agent card.
apps/minions-a2a/a2a_minions/agent_cards.py:122
↓ 3 callersMethodget_instance
Get or create the singleton instance of SGLangClient.
secure/remote/remote_model.py:15
↓ 3 callersFunctionget_openai_api_key
Get OpenAI API key from environment or session state.
apps/minions-character-chat/utils.py:185
↓ 3 callersFunctionget_pem_hash
(pem_file: str)
secure/utils/crypto_utils.py:233
↓ 3 callersMethodget_pool_stats
Get statistics about the client pool.
apps/minions-a2a/a2a_minions/client_factory.py:228
↓ 3 callersMethodget_task
Get task status and results.
apps/minions-a2a/tests/integration/test_client_minions.py:123
↓ 3 callersMethodget_task
Get task by ID, optionally checking ownership.
apps/minions-a2a/a2a_minions/server.py:503
↓ 3 callersFunctioninit_auth
Initialize the global auth manager.
apps/minions-a2a/a2a_minions/auth.py:436
↓ 3 callersMethodlist_clients
List all OAuth2 clients (without secrets).
apps/minions-a2a/a2a_minions/auth.py:253
↓ 3 callersMethodquery_gpt4o
Query the teacher model (GPT-4o).
minions/utils/minion_evaluator.py:29
↓ 3 callersMethodrun
Run all servers.
apps/minions-a2a/examples/webapp/run_webapp.py:300
↓ 3 callersMethodsetup_streaming
Set up streaming for a task.
apps/minions-a2a/a2a_minions/server.py:513
↓ 3 callersMethodshutdown
Gracefully shutdown task manager.
apps/minions-a2a/a2a_minions/server.py:532
↓ 3 callersMethodstop_servers
Stop all servers.
apps/minions-a2a/examples/webapp/run_webapp.py:268
↓ 3 callersMethodupdateStartButtonState
()
apps/minions-docker/web/main.js:72
↓ 3 callersMethodupdate_streaming_sessions
Update active streaming sessions count.
apps/minions-a2a/a2a_minions/metrics.py:198
↓ 3 callersFunctionvalidate_character_data
Validate character data structure. Args: character_data: Dictionary containing character information Returns:
apps/minions-character-chat/utils.py:233
↓ 3 callersFunctionvalidate_story_structure
Validate that the story structure is complete and properly formatted. Args: story_data: Story data dictionary Retur
apps/minions-story-teller/utils.py:217
↓ 3 callersFunctionverify_attestation_full
( report_json: bytes, signature_b64: str, gpu_eat_json: str, public_key: str, expected_non
secure/utils/crypto_utils.py:605
↓ 3 callersMethodwait_for_completion
Wait for task completion with configurable polling.
apps/minions-a2a/tests/integration/test_client_minions.py:157
↓ 2 callersMethod_achat_internal
Handle async chat with multiple messages in parallel.
secure/utils/clients/gemini.py:148
↓ 2 callersMethod_achat_internal
Handle async chat with multiple messages in parallel.
secure/utils/clients/ollama.py:129
↓ 2 callersMethod_cache_key
(self)
minions/utils/inference_estimator.py:272
↓ 2 callersFunction_cache_path
()
minions/utils/inference_estimator.py:34
↓ 2 callersMethod_check_model_available
Check if the model is available in Docker Model Runner.
minions/clients/docker_model_runner.py:61
↓ 2 callersMethod_decode_int8
Decode a base64-encoded int8 embedding to floats.
minions/clients/perplexity.py:344
↓ 2 callersMethod_execute_code
( self, code: str, starting_globals: Dict[str, Any] = {}, fn_name: str = "prep
minions/minions.py:224
↓ 2 callersMethod_execute_minion_query
Execute Minion (singular) query.
apps/minions-a2a/a2a_minions/server.py:392
↓ 2 callersMethod_extract_code_blocks
Extract code from ```repl``` and ```python``` fenced blocks.
minions/minion_rlm.py:543
↓ 2 callersMethod_extract_cost_info
Extract cost information from response if available.
minions/clients/exa.py:227
↓ 2 callersFunction_extract_json
Extract JSON from text that may be wrapped in markdown code blocks.
secure/minions_secure.py:59
↓ 2 callersFunction_extract_json
Extract JSON from text that may be wrapped in markdown code blocks.
apps/minions-story-teller/story_minion.py:42
↓ 2 callersMethod_extract_pdf_text_internal
Internal PDF extraction method.
apps/minions-a2a/a2a_minions/converters.py:236
↓ 2 callersMethod_extract_text_from_pdf
Extract text content from a PDF file
secure/minions_chat.py:173
↓ 2 callersMethod_format_content
Format messages for Gemini API using the types module.
minions/clients/gemini.py:341
↓ 2 callersMethod_format_content
Format messages for Gemini API using the types module.
secure/utils/clients/gemini.py:87
↓ 2 callersMethod_format_openai_messages
Format messages for OpenAI API format.
minions/clients/gemini.py:371
↓ 2 callersMethod_format_story_so_far
Format the story written so far for context.
apps/minions-story-teller/story_minion.py:417
↓ 2 callersMethod_format_variables
Format namespace variables for display to the remote model.
minions/minion_rlm.py:555
↓ 2 callersMethod_get_api_key
Get API key from environment variables.
minions/utils/retrievers.py:281
↓ 2 callersFunction_get_client
Get a FirecrawlApp client instance.
minions/utils/firecrawl_util.py:6
↓ 2 callersMethod_get_remote_client_config
Get remote client configuration.
apps/minions-a2a/a2a_minions/client_factory.py:213
↓ 2 callersMethod_initialize_http_client
Initialize HTTP client for MLX Omni Server.
minions/clients/mlx_clients.py:454
↓ 2 callersMethod_initialize_http_client
Initialize HTTP client for MLX Omni Server.
secure/utils/clients/mlx_omni.py:73
↓ 2 callersMethod_is_ignored_file
Check if a file should be ignored (e.g., temporary files, cache). Args: file_path: Path to check
minions/utils/workspace.py:411
↓ 2 callersMethod_prepare_generation_config
Common generation config for both sync and async calls.
minions/clients/gemini.py:205
↓ 2 callersMethod_prepare_generation_config
Common generation config for both sync and async calls.
secure/utils/clients/gemini.py:78
↓ 2 callersMethod_prepare_options
Common chat options for both sync and async calls.
minions/clients/ollama.py:171
↓ 2 callersMethod_prepare_options
Common chat options for both sync and async calls.
secure/utils/clients/ollama.py:86
↓ 2 callersMethod_prepare_params
Prepare parameters for generation. Args: messages: List of message dictionaries with 'role' and 'content' keys
minions/clients/mlx_clients.py:160
↓ 2 callersMethod_prepare_tools
Prepare tools list for generation.
minions/clients/gemini.py:301
↓ 2 callersMethod_process_folder
Process a folder containing text, PDF, and image files. Returns: Tuple containing: - Concatenated text content from a
secure/minions_chat.py:181
↓ 2 callersMethod_process_image
Process an image file and return a data URL or None if processing fails
secure/minions_chat.py:503
↓ 2 callersMethod_process_ollama_tool_calls
Process Ollama tool calls and execute MCP tools.
minions/clients/ollama.py:141
↓ 2 callersFunction_run
(cmd: str, timeout: float = 1.0)
minions/utils/inference_estimator.py:25
↓ 2 callersMethod_save_clients
Save OAuth2 clients to storage.
apps/minions-a2a/a2a_minions/auth.py:207
↓ 2 callersMethod_send_secure_message
Send an encrypted message to the secure endpoint
minions/clients/secure.py:237
↓ 2 callersMethodadd_entries
Add entries to the Qdrant collection. :param embeddings: list of document embeddings to add, must be either TextEmbedding, ImageEmbe
minions/utils/multimodal_retrievers.py:464
↓ 2 callersMethodadd_turn
Add a turn to the conversation history, removing oldest if at capacity. If summarize_older_turns is enabled, will periodically summar
minions/utils/conversation_history.py:64
↓ 2 callersMethodapply_file_changes
Apply file changes to the workspace. Args: files: Dictionary mapping file paths to their content
minions/utils/workspace.py:163
↓ 2 callersMethodassess_and_generate_query
Assesses the need for more information and generates a new query if needed Args: query: The original user query
minions/minions_deep_research.py:195
↓ 2 callersFunctioncalculate_performance_score
Calculate a simple performance score based on metrics.
apps/minions-tools/utils.py:144
↓ 2 callersMethodchat
Handle chat completions using the Sarvam AI API. Args: messages: List of message dictionaries with 'role' and 'content'
minions/clients/sarvam.py:68
↓ 2 callersMethodchat
Handle chat completions using the OpenRouter API. Args: messages: List of message dicts with 'role' and 'content' keys.
minions/clients/openrouter.py:203
↓ 2 callersMethodchat
Handle chat completions using the OpenAI client, but route to perplexity Args: messages: List of message dictionaries w
minions/clients/perplexity.py:75
↓ 2 callersMethodchat
Generate a response for a chat conversation using the MLX PARALLM model. Args: messages: List of message dictionaries, e
minions/clients/mlx_clients.py:56
↓ 2 callersMethodchat
Handle chat completions using the MLX LM client. Args: messages: List of message dictionaries with 'role' and 'content'
minions/clients/mlx_clients.py:193
↓ 2 callersMethodchat
Handle chat completions using the MLX Omni Server. Args: messages: List of message dictionaries with 'role' and 'content
minions/clients/mlx_clients.py:489
← previousnext →101–200 of 1,660, ranked by callers