MCPcopy Create free account

hub / github.com/HazyResearch/minions / functions

Functions1,660 in github.com/HazyResearch/minions

Methodget_last_interaction_response
Get the full response object from the last Interactions API call. Returns: Optional[Any]: The full interaction r
minions/clients/gemini.py:1209
Methodget_latest_turn
Get the most recent turn or None if history is empty.
minions/utils/conversation_history.py:145
Methodget_model
Get or initialize the embedding model.
minions/utils/retrievers.py:80
Methodget_model
(self)
minions/utils/retrievers.py:118
Methodget_model
Get the Gemini client.
minions/utils/retrievers.py:291
Methodget_model
Get the OpenRouter client.
minions/utils/retrievers.py:471
Methodget_model
Get the model name (Ollama doesn't use a client object).
minions/utils/retrievers.py:569
Methodget_model
Get the ColBERT model.
minions/utils/retrievers.py:673
Methodget_model
Get the Mistral client.
minions/utils/retrievers.py:820
Methodget_model
Get the OpenAI client configured for Modular.
minions/utils/retrievers.py:949
Methodget_model_by_name
Get model by name (for backward compatibility)
minions/utils/retrievers.py:125
Methodget_model_by_name
Get model by name (for backward compatibility)
minions/utils/retrievers.py:391
Methodget_model_by_name
Get model by name (for backward compatibility)
minions/utils/retrievers.py:527
Methodget_model_by_name
Get model by name (for backward compatibility)
minions/utils/retrievers.py:626
Methodget_model_by_name
Get model by name (for backward compatibility)
minions/utils/retrievers.py:756
Methodget_model_by_name
Get model by name (for backward compatibility)
minions/utils/retrievers.py:885
Methodget_model_by_name
Get model by name (for backward compatibility)
minions/utils/retrievers.py:1005
Functionget_parallel_search_urls
Get a list of URLs from Parallel Search API. Args: objective: Natural language objective describing what you want to find
minions/utils/parallel_search_util.py:141
Functionget_providers
Get available model providers.
apps/minions-a2a/examples/webapp/app.py:153
Methodget_sequence_probs
Compute log probabilities for each token in a sequence by performing a single forward pass through the model. Args:
minions/clients/transformers.py:1299
Methodget_sequence_probs
Compute log probabilities using the Together completions API.
minions/clients/together.py:73
Methodget_stats
Retrieve the collected measurements. :return: List of tuples (timestamp, measurement dict)
minions/utils/energy_tracking.py:233
Methodget_stats
Return performance statistics from the last request.
minions/clients/lemonade.py:284
Methodget_task_types
Get list of valid task types for embeddings.
minions/utils/retrievers.py:419
Methodget_thinking_content
Get the thinking content from the last model response that supports reasoning. Returns: str: The thinking conten
minions/clients/transformers.py:369
Methodget_total_time
Get the total time the monitor has been running.
minions/utils/energy_tracking.py:56
Methodget_turns
Get the most recent n turns. Args: n: Number of recent turns to retrieve, or None for all turns
minions/utils/conversation_history.py:131
Methodget_url_context_metadata
Get URL context metadata from the last response. Returns: Optional[Dict[str, Any]]: URL context metadata if avai
minions/clients/gemini.py:783
Methodhandle_a2a_request
Handle A2A JSON-RPC requests.
apps/minions-a2a/a2a_minions/server.py:657
Functionhandle_connect
Handle WebSocket connection.
apps/minions-a2a/examples/webapp/app.py:373
Functionhandle_disconnect
Handle WebSocket disconnection.
apps/minions-a2a/examples/webapp/app.py:378
Methodhandle_shutdown
(signum, frame)
apps/minions-a2a/a2a_minions/server.py:607
Functionhealth
Check A2A server health.
apps/minions-a2a/examples/webapp/app.py:129
Functionhealth_check
Health check endpoint with detailed status.
apps/minions-docker/minions_http_server.py:168
Functionhealth_check
Health check endpoint.
apps/minions-docker/minion_http_server.py:91
Methodhealth_check
Health check endpoint.
apps/minions-a2a/a2a_minions/server.py:772
Functionindex
Main page.
apps/minions-a2a/examples/webapp/app.py:124
FunctioninitProgressCallback
(progress)
apps/minions-webgpu/main.js:68
Methodinit_client
()
minions/minions_mcp.py:114
Functioninternal_error
(error)
apps/minions-docker/minions_http_server.py:653
Functioninternal_error
(error)
apps/minions-docker/minion_http_server.py:307
Functionjobs_callback
Display a list of jobs with toggleable details.
app.py:397
Functionjson_serializable
(obj)
minion_stdin_interface.py:205
Methodlist_file_search_stores
List all File Search stores. Returns: List[Dict[str, Any]]: List of file search store information
minions/clients/gemini.py:828
Methodlist_files
List uploaded files. Example: files = client.list_files(limit=20) for f in files: print(f"Fil
minions/clients/grok.py:237
Functionlist_models
List available models from the remote OpenAI client. Returns: JSON response containing the list of available models
apps/minions-docker/minion_http_server.py:261
Methodlist_models
List available models from the NousResearch API. Returns: Dict containing the models data from the NousResearch
minions/clients/nousresearch.py:138
Methodlist_models
List available models from the MiniMax API. Returns: Dict containing the models data with structure: {
minions/clients/minimax.py:137
Methodlist_models
List available models from the Vercel AI Gateway. Returns a list of all models available through the gateway, including models from a
minions/clients/vercel_gateway.py:179
Methodlist_models
List available models from the Ollama Turbo API. Returns: Dict containing the models data
minions/clients/ollama.py:614
Methodlist_models
List available models from the Cohere API. Returns: Dict containing the models data from the Cohere API response
minions/clients/cohere.py:365
Methodlist_models
List available models from the Osaurus server. Calls the GET /models endpoint (OpenAI-compatible models list). Suppo
minions/clients/osaurus.py:133
Methodload_audio
Load an audio file from a file path.
minions/clients/mlx_clients.py:692
Methodload_audio
Load an audio file from a file path.
secure/utils/clients/mlx_audio.py:59
Functionload_comparison_results
Load comparison results from a JSON file.
apps/minions-tools/utils.py:46
Functionload_default_medical_context
()
minions_cli.py:144
Methodload_model
Explicitly load a model into memory.
minions/clients/lemonade.py:241
Functionmanage_api_keys
Manage API keys for different providers.
apps/minions-a2a/examples/webapp/app.py:173
Functionmcp_callback
Callback function to display intermediate MCP outputs
apps/minions-tools/app.py:94
Functionmessage
()
secure/remote/worker_server.py:179
Functionmessage_callback
Stream messages from both local and remote models with real-time updates.
minions_cli.py:183
Functionmessage_callback
Show messages for both Minion and Minions protocols, labeling the local vs remote model clearly.
app.py:459
Functionmessage_stream
()
secure/remote/worker_server.py:243
Functionmetrics_endpoint
()
apps/minions-a2a/a2a_minions/metrics.py:230
Methodmetrics_loop
()
apps/minions-a2a/a2a_minions/server.py:100
Methodmock_execute_skill
(skill_id, message, metadata, callback)
apps/minions-a2a/tests/unit/test_server.py:318
Functionmock_openai_response
()
tests/client_tests/test_notdiamond_client_integration.py:9
Methodmonitor_a2a
()
apps/minions-a2a/examples/webapp/run_webapp.py:63
Methodmonitor_ollama
()
apps/minions-a2a/examples/webapp/run_webapp.py:135
Methodmonitor_web
()
apps/minions-a2a/examples/webapp/run_webapp.py:206
Functionmultiply
Multiply two numbers and return the result.
tests/mcp_server_example/calculator_mcp_server_example.py:26
Methodnemotron_chat
Chat with Nemotron models with explicit reasoning control. Args: messages: List of message dictionaries with 'ro
minions/clients/transformers.py:893
Methodnew_prompt_tokens
(self)
minions/usage.py:22
Methodno_auth
()
apps/minions-a2a/a2a_minions/server.py:653
Functionnot_found
(error)
apps/minions-docker/minions_http_server.py:641
Functionnot_found
(error)
apps/minions-docker/minion_http_server.py:294
Functionnum_tokens_from_messages_openai
Return the number of tokens used by a list of messages. Source: https://github.com/openai/openai-cookbook/blob/main/examples/How_to_count_tokens_w
minions/usage.py:55
Methodoauth_token
Handle OAuth2 token requests.
apps/minions-a2a/a2a_minions/server.py:638
Methodparse_story_structure
Parse the generated story text into structured chapters
apps/minions-story-teller/app.py:287
Methodpeak_mem_GBps
(self)
minions/utils/inference_estimator.py:136
Methodpeak_tflops
(self)
minions/utils/inference_estimator.py:126
Functionprepare_jobs
Args: context (List[str]): A list of documents. Assume each document is greater >100k tokens. Each document can be further ch
minions/minions.py:85
Functionprint_chunk
(chunk)
secure/minions_chat.py:630
Methodprocess_one
(msg)
minions/clients/gemini.py:494
Methodprocess_one
(msg)
minions/clients/mlx_clients.py:346
Methodprocess_one
(msg)
minions/clients/lemonade.py:136
Methodprocess_one
(msg)
secure/utils/clients/gemini.py:163
Methodprocess_one
(msg)
secure/utils/clients/ollama.py:144
Methodprofile
(cls)
minions/utils/inference_estimator.py:66
Methodput_event
()
apps/minions-a2a/a2a_minions/server.py:271
Methodregister_node
Register a new node with the network coordinator.
minions/clients/distributed_inference.py:138
Methodremove_file
Remove a file ID from chat attachments (does not delete the file). Args: file_id: The ID of the file to remove from atta
minions/clients/grok.py:323
Methodremove_file_search_store
Remove a File Search store from being used in generations. Args: store_name: Name of the store to remove (format
minions/clients/gemini.py:958
Methodremove_node
Remove a node from the network.
minions/clients/distributed_inference.py:145
Methodrerank
Rerank documents based on relevance to a query using Cohere's rerank API. Requires native Cohere SDK. Args:
minions/clients/cohere.py:300
Methodresponse_generator
()
minions/clients/huggingface.py:216
Methodresponse_generator
()
secure/utils/clients/huggingface.py:153
Methodresponses
Use Perplexity's Agentic Research API for multi-provider access with web search. See: https://docs.perplexity.ai/docs/agenti
minions/clients/perplexity.py:190
Methodresponses
Use the OpenAI-compatible Responses API (requires Ollama v0.13.3+). Args: input: The input text/prompt
minions/clients/ollama.py:502
Methodresponses
Use Exa's Responses API for single-turn research tasks. Example: client = ExaClient(model_name="exa-research
minions/clients/exa.py:155
← previousnext →1,101–1,200 of 1,660, ranked by callers