MCPcopy Create free account

hub / github.com/algorithmicsuperintelligence/optillm / functions

Functions1,129 in github.com/algorithmicsuperintelligence/optillm

Methodtest_env_var_configuration
(self)
tests/test_compact_plugin.py:152
Methodtest_environment_variable_expansion
Test environment variable expansion in SSE headers. Note: The current implementation only expands values that are entirely environmen
tests/test_mcp_plugin.py:438
Methodtest_error_handling
Test error handling and fallback.
tests/test_json_plugin.py:225
Methodtest_error_handling_logging
Test that errors in approaches are properly logged
tests/test_conversation_logging_server.py:430
Methodtest_execute_tool_config_load_failure
Test tool execution with config load failure
tests/test_mcp_plugin.py:265
Methodtest_execute_tool_server_not_found
Test tool execution with non-existent server
tests/test_mcp_plugin.py:253
Methodtest_execute_tool_sse_no_url
Test SSE tool execution without URL
tests/test_mcp_plugin.py:297
Methodtest_execute_tool_stdio_no_command
Test stdio tool execution without command
tests/test_mcp_plugin.py:290
Methodtest_execute_tool_unsupported_transport
Test tool execution with unsupported transport
tests/test_mcp_plugin.py:276
Methodtest_execute_tool_websocket_no_url
Test WebSocket tool execution without URL
tests/test_mcp_plugin.py:304
Methodtest_existing_approaches_still_work
Test that existing approaches work without reasoning token changes
tests/test_reasoning_tokens.py:221
Functiontest_extra_body_approach
Test approach specification via extra_body
tests/test_api_compatibility.py:76
Methodtest_extra_body_approach_logging
Test approach specification via extra_body parameter
tests/test_conversation_logging_server.py:257
Methodtest_extract_schema_from_response_format
Test schema extraction from OpenAI response format.
tests/test_json_plugin.py:135
Methodtest_full_integration_with_file_logging
Test complete integration from approach execution to file logging
tests/test_conversation_logging_approaches.py:389
Methodtest_generate_json_new_api
Test JSON generation with new outlines API.
tests/test_json_plugin.py:113
Methodtest_get_capabilities_description_no_servers
Test getting capabilities description with no servers
tests/test_mcp_plugin.py:335
Methodtest_get_tools_for_model_empty
Test getting tools when no tools are available
tests/test_mcp_plugin.py:327
Methodtest_httpx_client_custom_cert_path
Test httpx.Client created with custom certificate path.
tests/test_ssl_config.py:134
Methodtest_httpx_client_ssl_verify_disabled
Test httpx.Client created with verify=False when SSL disabled.
tests/test_ssl_config.py:102
Methodtest_httpx_client_ssl_verify_enabled
Test httpx.Client created with verify=True by default.
tests/test_ssl_config.py:118
Methodtest_imo25_problem3_functional_equation
Test MARS on IMO25 Problem 3 - Functional Equation (Expected: c = 4)
tests/test_mars_imo25.py:149
Methodtest_imo25_problem4_number_theory
Test MARS on IMO25 Problem 4 - Number Theory (Expected: 6J·12^K formula)
tests/test_mars_imo25.py:216
Functiontest_imports
Test that all DeepConf components can be imported.
tests/test_deepconf.py:18
Methodtest_incompatible_requests
Test that incompatible requests are properly handled
tests/test_batching.py:105
Methodtest_inference_pipeline_unchanged
Test that inference pipeline behavior is unchanged
tests/test_batching.py:156
Methodtest_inference_usage_default_reasoning_tokens
Test that ChatCompletionUsage defaults reasoning_tokens to 0
tests/test_reasoning_integration.py:99
Methodtest_inference_usage_includes_reasoning_tokens
Test that ChatCompletionUsage includes reasoning_tokens
tests/test_reasoning_integration.py:82
Functiontest_info_function
Test the info function.
tests/test_deepconf.py:141
Methodtest_info_when_custom_cert_used
Test that an info message is logged when using custom certificate.
tests/test_ssl_config.py:344
Methodtest_init
Test MCPServer initialization
tests/test_mcp_plugin.py:172
Methodtest_init
Test MCPServerManager initialization
tests/test_mcp_plugin.py:315
Methodtest_init_custom_path
Test custom configuration path
tests/test_mcp_plugin.py:103
Methodtest_init_default_path
Test default configuration path
tests/test_mcp_plugin.py:97
Methodtest_invalid_request_id_and_stats
Test handling of invalid request IDs and logger statistics
tests/test_conversation_logger.py:173
Methodtest_json_generator_init
Test JSONGenerator initialization with new API.
tests/test_json_plugin.py:69
Methodtest_json_plugin_fallback
Test that JSON plugin falls back gracefully when schema is invalid
tests/test_json_plugin.py:333
Methodtest_json_plugin_integration
Test JSON plugin with actual local inference
tests/test_json_plugin.py:279
Methodtest_keep_recent_exceeds_turn_count
(self)
tests/test_compact_plugin.py:234
Methodtest_llm_failure_falls_back_to_passthrough
(self)
tests/test_compact_plugin.py:167
Methodtest_load_nonexistent_config
Test loading non-existent configuration
tests/test_mcp_plugin.py:160
Methodtest_load_valid_config
Test loading valid configuration
tests/test_mcp_plugin.py:130
Methodtest_log_file_structure_and_format
Test that log files have correct JSONL structure and required fields
tests/test_conversation_logging_server.py:465
Methodtest_logger_initialization_and_disabled_state
Test logger initialization and disabled logger behavior
tests/test_conversation_logger.py:27
Methodtest_logging_edge_cases
Test approaches work with logging disabled, no request_id, and API errors
tests/test_conversation_logging_approaches.py:339
Methodtest_logging_performance_impact
Test that logging doesn't significantly impact response time
tests/test_conversation_logging_server.py:541
Methodtest_long_text_returns_positive
(self)
tests/test_compact_plugin.py:33
Methodtest_malformed_env_var_uses_default
(self)
tests/test_compact_plugin.py:258
Methodtest_mars_basic_call
Test basic MARS functionality with mock client
tests/test_mars_parallel.py:127
Methodtest_mars_consensus_mechanism
Test MARS consensus and verification mechanism
tests/test_mars_parallel.py:484
Methodtest_mars_error_handling
Test error handling in parallel execution
tests/test_mars_parallel.py:215
Methodtest_mars_hard_problems
Test MARS on challenging problems that require deep reasoning
tests/test_mars_parallel.py:281
Methodtest_mars_import
Test that MARS can be imported correctly
tests/test_mars_parallel.py:122
Methodtest_mars_logging_and_monitoring
Test that MARS logging provides useful monitoring information
tests/test_mars_parallel.py:390
Methodtest_mars_parallel_execution_performance
Test that parallel execution shows improvement over theoretical sequential
tests/test_mars_parallel.py:154
Methodtest_mars_uses_thread_pool
Test that MARS actually uses ThreadPoolExecutor for parallel execution
tests/test_mars_parallel.py:255
Methodtest_mars_worker_pool_calculation
Test that worker pool size is calculated correctly
tests/test_mars_parallel.py:198
Methodtest_mixed_model_requests
Test that requests with different models are properly separated
tests/test_batching.py:366
Methodtest_mlx_batch_creation
Test that MLX batch processing can be created
tests/test_batching.py:177
Methodtest_mlx_batch_generation
Test MLX batch processing with actual generation
tests/test_batching.py:209
Methodtest_mlx_batch_parameters
Test MLX batch processing parameter validation
tests/test_batching.py:188
Methodtest_multi_call_approaches_logging
Test BON, MCTS, and RTO approaches log API calls correctly
tests/test_conversation_logging_approaches.py:114
Methodtest_multi_turn
(self)
tests/test_compact_plugin.py:44
Methodtest_multiple_approaches_logging
Test multiple different approaches get logged correctly
tests/test_conversation_logging_server.py:329
Methodtest_multiple_conversations_and_log_files
Test handling multiple concurrent conversations and log file naming
tests/test_conversation_logger.py:125
Methodtest_multiple_responses_reasoning_tokens
Test reasoning tokens with multiple responses (n > 1)
tests/test_reasoning_tokens.py:192
Functiontest_n_parameter
Test n parameter for multiple completions
tests/test_api_compatibility.py:43
Methodtest_no_batch_mode_unchanged
Test that optillm works exactly the same without --batch-mode
tests/test_batching.py:146
Methodtest_no_tags
(self)
tests/test_compact_plugin.py:53
Methodtest_openai_client_receives_http_client
Test that OpenAI client receives the configured httpx client.
tests/test_ssl_config.py:151
Methodtest_output_preserves_tag_format
(self)
tests/test_compact_plugin.py:135
Methodtest_parse_json_schema_to_pydantic
Test JSON schema to Pydantic model conversion.
tests/test_json_plugin.py:88
Methodtest_passthrough_few_turns
(self)
tests/test_compact_plugin.py:90
Methodtest_passthrough_short_conversation
(self)
tests/test_compact_plugin.py:84
Methodtest_processor_error_handling
Test that processor errors are handled correctly
tests/test_batching.py:113
Methodtest_provider_api_fails_falls_back_to_default
(self)
tests/test_compact_plugin.py:298
Methodtest_provider_no_context_info_falls_back_to_config
(self)
tests/test_compact_plugin.py:290
Methodtest_provider_returns_context_length
(self)
tests/test_compact_plugin.py:271
Methodtest_provider_returns_max_context_length
(self)
tests/test_compact_plugin.py:280
Methodtest_pytorch_batch_method_exists
Test that PyTorch InferencePipeline has process_batch method
tests/test_batching.py:248
Methodtest_pytorch_batch_processing
Test PyTorch batch processing with small model
tests/test_batching.py:255
Methodtest_re2_approach_logging
Test RE2 approach with conversation logging
tests/test_conversation_logging_server.py:191
Methodtest_readurls_plugin_custom_cert_path
Test readurls plugin uses custom certificate path.
tests/test_ssl_config.py:286
Methodtest_readurls_plugin_ssl_verify_disabled
Test readurls plugin respects SSL verification disabled.
tests/test_ssl_config.py:238
Methodtest_readurls_plugin_ssl_verify_enabled
Test readurls plugin respects SSL verification enabled.
tests/test_ssl_config.py:262
Methodtest_reasoning_token_calculation_with_mock_response
Test reasoning token calculation with mock content
tests/test_reasoning_integration.py:182
Functiontest_reasoning_tokens_backward_compatibility
Test that responses without thinking still work normally
tests/test_api_compatibility.py:184
Methodtest_reasoning_tokens_fallback_estimation
Test fallback estimation when tokenizer fails
tests/test_reasoning_simple.py:77
Functiontest_reasoning_tokens_in_response
Test that reasoning tokens are included in API responses
tests/test_api_compatibility.py:111
Methodtest_reasoning_tokens_logging
Test that reasoning tokens are properly logged
tests/test_conversation_logging_server.py:289
Functiontest_reasoning_tokens_with_multiple_responses
Test reasoning tokens with n > 1
tests/test_api_compatibility.py:161
Functiontest_reasoning_tokens_with_thinking_prompt
Test reasoning tokens with a prompt designed to trigger thinking
tests/test_api_compatibility.py:137
Methodtest_request_config_overrides_env
(self)
tests/test_compact_plugin.py:78
Methodtest_request_config_takes_priority
(self)
tests/test_compact_plugin.py:71
Methodtest_required_imports
Test that required modules can be imported
tests/test_mcp_plugin.py:409
Methodtest_response_includes_completion_tokens_details
Test that API responses include completion_tokens_details
tests/test_reasoning_tokens.py:140
Methodtest_response_no_reasoning_tokens
Test API response when there are no reasoning tokens
tests/test_reasoning_tokens.py:166
Methodtest_roundtrip
(self)
tests/test_compact_plugin.py:58
Methodtest_run_function_exists
Test that plugin has run function defined
tests/test_mcp_plugin.py:403
Methodtest_run_function_with_schema
Test the main run function with a valid schema.
tests/test_json_plugin.py:160
← previousnext →1,001–1,100 of 1,129, ranked by callers