Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithmicsuperintelligence/optillm
/ functions
Functions
1,129 in github.com/algorithmicsuperintelligence/optillm
⨍
Functions
1,129
◇
Types & classes
178
↳
Endpoints
25
Method
test_env_var_configuration
(self)
tests/test_compact_plugin.py:152
Method
test_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
Method
test_error_handling
Test error handling and fallback.
tests/test_json_plugin.py:225
Method
test_error_handling_logging
Test that errors in approaches are properly logged
tests/test_conversation_logging_server.py:430
Method
test_execute_tool_config_load_failure
Test tool execution with config load failure
tests/test_mcp_plugin.py:265
Method
test_execute_tool_server_not_found
Test tool execution with non-existent server
tests/test_mcp_plugin.py:253
Method
test_execute_tool_sse_no_url
Test SSE tool execution without URL
tests/test_mcp_plugin.py:297
Method
test_execute_tool_stdio_no_command
Test stdio tool execution without command
tests/test_mcp_plugin.py:290
Method
test_execute_tool_unsupported_transport
Test tool execution with unsupported transport
tests/test_mcp_plugin.py:276
Method
test_execute_tool_websocket_no_url
Test WebSocket tool execution without URL
tests/test_mcp_plugin.py:304
Method
test_existing_approaches_still_work
Test that existing approaches work without reasoning token changes
tests/test_reasoning_tokens.py:221
Function
test_extra_body_approach
Test approach specification via extra_body
tests/test_api_compatibility.py:76
Method
test_extra_body_approach_logging
Test approach specification via extra_body parameter
tests/test_conversation_logging_server.py:257
Method
test_extract_schema_from_response_format
Test schema extraction from OpenAI response format.
tests/test_json_plugin.py:135
Method
test_full_integration_with_file_logging
Test complete integration from approach execution to file logging
tests/test_conversation_logging_approaches.py:389
Method
test_generate_json_new_api
Test JSON generation with new outlines API.
tests/test_json_plugin.py:113
Method
test_get_capabilities_description_no_servers
Test getting capabilities description with no servers
tests/test_mcp_plugin.py:335
Method
test_get_tools_for_model_empty
Test getting tools when no tools are available
tests/test_mcp_plugin.py:327
Method
test_httpx_client_custom_cert_path
Test httpx.Client created with custom certificate path.
tests/test_ssl_config.py:134
Method
test_httpx_client_ssl_verify_disabled
Test httpx.Client created with verify=False when SSL disabled.
tests/test_ssl_config.py:102
Method
test_httpx_client_ssl_verify_enabled
Test httpx.Client created with verify=True by default.
tests/test_ssl_config.py:118
Method
test_imo25_problem3_functional_equation
Test MARS on IMO25 Problem 3 - Functional Equation (Expected: c = 4)
tests/test_mars_imo25.py:149
Method
test_imo25_problem4_number_theory
Test MARS on IMO25 Problem 4 - Number Theory (Expected: 6J·12^K formula)
tests/test_mars_imo25.py:216
Function
test_imports
Test that all DeepConf components can be imported.
tests/test_deepconf.py:18
Method
test_incompatible_requests
Test that incompatible requests are properly handled
tests/test_batching.py:105
Method
test_inference_pipeline_unchanged
Test that inference pipeline behavior is unchanged
tests/test_batching.py:156
Method
test_inference_usage_default_reasoning_tokens
Test that ChatCompletionUsage defaults reasoning_tokens to 0
tests/test_reasoning_integration.py:99
Method
test_inference_usage_includes_reasoning_tokens
Test that ChatCompletionUsage includes reasoning_tokens
tests/test_reasoning_integration.py:82
Function
test_info_function
Test the info function.
tests/test_deepconf.py:141
Method
test_info_when_custom_cert_used
Test that an info message is logged when using custom certificate.
tests/test_ssl_config.py:344
Method
test_init
Test MCPServer initialization
tests/test_mcp_plugin.py:172
Method
test_init
Test MCPServerManager initialization
tests/test_mcp_plugin.py:315
Method
test_init_custom_path
Test custom configuration path
tests/test_mcp_plugin.py:103
Method
test_init_default_path
Test default configuration path
tests/test_mcp_plugin.py:97
Method
test_invalid_request_id_and_stats
Test handling of invalid request IDs and logger statistics
tests/test_conversation_logger.py:173
Method
test_json_generator_init
Test JSONGenerator initialization with new API.
tests/test_json_plugin.py:69
Method
test_json_plugin_fallback
Test that JSON plugin falls back gracefully when schema is invalid
tests/test_json_plugin.py:333
Method
test_json_plugin_integration
Test JSON plugin with actual local inference
tests/test_json_plugin.py:279
Method
test_keep_recent_exceeds_turn_count
(self)
tests/test_compact_plugin.py:234
Method
test_llm_failure_falls_back_to_passthrough
(self)
tests/test_compact_plugin.py:167
Method
test_load_nonexistent_config
Test loading non-existent configuration
tests/test_mcp_plugin.py:160
Method
test_load_valid_config
Test loading valid configuration
tests/test_mcp_plugin.py:130
Method
test_log_file_structure_and_format
Test that log files have correct JSONL structure and required fields
tests/test_conversation_logging_server.py:465
Method
test_logger_initialization_and_disabled_state
Test logger initialization and disabled logger behavior
tests/test_conversation_logger.py:27
Method
test_logging_edge_cases
Test approaches work with logging disabled, no request_id, and API errors
tests/test_conversation_logging_approaches.py:339
Method
test_logging_performance_impact
Test that logging doesn't significantly impact response time
tests/test_conversation_logging_server.py:541
Method
test_long_text_returns_positive
(self)
tests/test_compact_plugin.py:33
Method
test_malformed_env_var_uses_default
(self)
tests/test_compact_plugin.py:258
Method
test_mars_basic_call
Test basic MARS functionality with mock client
tests/test_mars_parallel.py:127
Method
test_mars_consensus_mechanism
Test MARS consensus and verification mechanism
tests/test_mars_parallel.py:484
Method
test_mars_error_handling
Test error handling in parallel execution
tests/test_mars_parallel.py:215
Method
test_mars_hard_problems
Test MARS on challenging problems that require deep reasoning
tests/test_mars_parallel.py:281
Method
test_mars_import
Test that MARS can be imported correctly
tests/test_mars_parallel.py:122
Method
test_mars_logging_and_monitoring
Test that MARS logging provides useful monitoring information
tests/test_mars_parallel.py:390
Method
test_mars_parallel_execution_performance
Test that parallel execution shows improvement over theoretical sequential
tests/test_mars_parallel.py:154
Method
test_mars_uses_thread_pool
Test that MARS actually uses ThreadPoolExecutor for parallel execution
tests/test_mars_parallel.py:255
Method
test_mars_worker_pool_calculation
Test that worker pool size is calculated correctly
tests/test_mars_parallel.py:198
Method
test_mixed_model_requests
Test that requests with different models are properly separated
tests/test_batching.py:366
Method
test_mlx_batch_creation
Test that MLX batch processing can be created
tests/test_batching.py:177
Method
test_mlx_batch_generation
Test MLX batch processing with actual generation
tests/test_batching.py:209
Method
test_mlx_batch_parameters
Test MLX batch processing parameter validation
tests/test_batching.py:188
Method
test_multi_call_approaches_logging
Test BON, MCTS, and RTO approaches log API calls correctly
tests/test_conversation_logging_approaches.py:114
Method
test_multi_turn
(self)
tests/test_compact_plugin.py:44
Method
test_multiple_approaches_logging
Test multiple different approaches get logged correctly
tests/test_conversation_logging_server.py:329
Method
test_multiple_conversations_and_log_files
Test handling multiple concurrent conversations and log file naming
tests/test_conversation_logger.py:125
Method
test_multiple_responses_reasoning_tokens
Test reasoning tokens with multiple responses (n > 1)
tests/test_reasoning_tokens.py:192
Function
test_n_parameter
Test n parameter for multiple completions
tests/test_api_compatibility.py:43
Method
test_no_batch_mode_unchanged
Test that optillm works exactly the same without --batch-mode
tests/test_batching.py:146
Method
test_no_tags
(self)
tests/test_compact_plugin.py:53
Method
test_openai_client_receives_http_client
Test that OpenAI client receives the configured httpx client.
tests/test_ssl_config.py:151
Method
test_output_preserves_tag_format
(self)
tests/test_compact_plugin.py:135
Method
test_parse_json_schema_to_pydantic
Test JSON schema to Pydantic model conversion.
tests/test_json_plugin.py:88
Method
test_passthrough_few_turns
(self)
tests/test_compact_plugin.py:90
Method
test_passthrough_short_conversation
(self)
tests/test_compact_plugin.py:84
Method
test_processor_error_handling
Test that processor errors are handled correctly
tests/test_batching.py:113
Method
test_provider_api_fails_falls_back_to_default
(self)
tests/test_compact_plugin.py:298
Method
test_provider_no_context_info_falls_back_to_config
(self)
tests/test_compact_plugin.py:290
Method
test_provider_returns_context_length
(self)
tests/test_compact_plugin.py:271
Method
test_provider_returns_max_context_length
(self)
tests/test_compact_plugin.py:280
Method
test_pytorch_batch_method_exists
Test that PyTorch InferencePipeline has process_batch method
tests/test_batching.py:248
Method
test_pytorch_batch_processing
Test PyTorch batch processing with small model
tests/test_batching.py:255
Method
test_re2_approach_logging
Test RE2 approach with conversation logging
tests/test_conversation_logging_server.py:191
Method
test_readurls_plugin_custom_cert_path
Test readurls plugin uses custom certificate path.
tests/test_ssl_config.py:286
Method
test_readurls_plugin_ssl_verify_disabled
Test readurls plugin respects SSL verification disabled.
tests/test_ssl_config.py:238
Method
test_readurls_plugin_ssl_verify_enabled
Test readurls plugin respects SSL verification enabled.
tests/test_ssl_config.py:262
Method
test_reasoning_token_calculation_with_mock_response
Test reasoning token calculation with mock content
tests/test_reasoning_integration.py:182
Function
test_reasoning_tokens_backward_compatibility
Test that responses without thinking still work normally
tests/test_api_compatibility.py:184
Method
test_reasoning_tokens_fallback_estimation
Test fallback estimation when tokenizer fails
tests/test_reasoning_simple.py:77
Function
test_reasoning_tokens_in_response
Test that reasoning tokens are included in API responses
tests/test_api_compatibility.py:111
Method
test_reasoning_tokens_logging
Test that reasoning tokens are properly logged
tests/test_conversation_logging_server.py:289
Function
test_reasoning_tokens_with_multiple_responses
Test reasoning tokens with n > 1
tests/test_api_compatibility.py:161
Function
test_reasoning_tokens_with_thinking_prompt
Test reasoning tokens with a prompt designed to trigger thinking
tests/test_api_compatibility.py:137
Method
test_request_config_overrides_env
(self)
tests/test_compact_plugin.py:78
Method
test_request_config_takes_priority
(self)
tests/test_compact_plugin.py:71
Method
test_required_imports
Test that required modules can be imported
tests/test_mcp_plugin.py:409
Method
test_response_includes_completion_tokens_details
Test that API responses include completion_tokens_details
tests/test_reasoning_tokens.py:140
Method
test_response_no_reasoning_tokens
Test API response when there are no reasoning tokens
tests/test_reasoning_tokens.py:166
Method
test_roundtrip
(self)
tests/test_compact_plugin.py:58
Method
test_run_function_exists
Test that plugin has run function defined
tests/test_mcp_plugin.py:403
Method
test_run_function_with_schema
Test the main run function with a valid schema.
tests/test_json_plugin.py:160
← previous
next →
1,001–1,100 of 1,129, ranked by callers