MCPcopy Create free account

hub / github.com/algorithmicsuperintelligence/optillm / functions

Functions1,129 in github.com/algorithmicsuperintelligence/optillm

Methodsend_request
Log and forward requests
optillm/plugins/mcp_plugin.py:235
MethodsetUp
Set up test fixtures
tests/test_conversation_logger.py:14
MethodsetUp
Set up test fixtures
tests/test_batching.py:34
MethodsetUp
Set up MLX test fixtures
tests/test_batching.py:166
MethodsetUp
Set up test fixtures with logging capture
tests/test_mars_imo25.py:120
MethodsetUp
Reset server_config before each test.
tests/test_ssl_config.py:26
MethodsetUp
Set up test environment.
tests/test_ssl_config.py:92
MethodsetUp
Set up test environment.
tests/test_ssl_config.py:228
MethodsetUp
Set up test environment.
tests/test_ssl_config.py:314
MethodsetUp
Set up test client
tests/test_conversation_logging_server.py:113
MethodsetUp
Check server availability
tests/test_conversation_logging_server.py:531
MethodsetUp
Set up test fixtures
tests/test_reasoning_tokens.py:135
MethodsetUp
Set up test environment
tests/test_conversation_logging_approaches.py:89
MethodsetUp
Set up test fixtures.
tests/test_json_plugin.py:42
MethodsetUp
Set up integration test environment
tests/test_json_plugin.py:268
MethodsetUp
Set up test fixtures
tests/test_reasoning_integration.py:34
MethodsetUp
Set up test fixtures
tests/test_mars_parallel.py:91
MethodsetUpClass
Set up OptILLM server for testing
tests/test_conversation_logging_server.py:33
Methodsetup_efficient_attention
Replace standard attention with memory-efficient version
optillm/inference.py:1393
Methodsolve_with_structure
Stage 2: Use the discovered reasoning structure to solve a specific problem.
optillm/plugins/deepthink/self_discover.py:391
Functionstart_test_server
Start optillm server for testing Returns the process handle
tests/test_utils.py:39
Methodstop
Stop health checking
optillm/plugins/proxy/health.py:33
Functionstrip_thinking_tags
Remove <think></think> tags from text (for debugging/logging) Args: text: Text potentially containing thinking tags Returns:
optillm/mars/answer_extraction.py:205
Methodsuccess_rate
(self)
optillm/mars/strategy_network.py:47
Methodsuccess_rate
Calculate the success rate of this strategy.
optillm/plugins/spl/strategy.py:60
MethodtearDown
Clean up test fixtures
tests/test_conversation_logger.py:20
MethodtearDown
Clean up after tests
tests/test_batching.py:60
MethodtearDown
Clean up test fixtures
tests/test_mars_imo25.py:138
MethodtearDown
Restore original server_config after each test.
tests/test_ssl_config.py:36
MethodtearDown
Restore original server_config.
tests/test_ssl_config.py:96
MethodtearDown
Restore original server_config.
tests/test_ssl_config.py:232
MethodtearDown
Restore original server_config.
tests/test_ssl_config.py:318
MethodtearDown
Clean up test environment
tests/test_conversation_logging_approaches.py:107
MethodtearDown
Clean up test fixtures
tests/test_mars_parallel.py:110
MethodtearDownClass
Clean up server
tests/test_conversation_logging_server.py:63
Methodtest_answer_extraction_analysis
Test answer extraction specifically with controlled responses
tests/test_mars_imo25.py:256
Methodtest_api_without_auth_header
Test API still returns proper errors without auth
tests/test_reasoning_tokens.py:249
Functiontest_approach_prefix
Test approach prefix in model name
tests/test_api_compatibility.py:62
Methodtest_async
()
tests/test_mcp_plugin.py:431
Methodtest_azure_client_receives_http_client
Test that AzureOpenAI client receives the configured httpx client.
tests/test_ssl_config.py:201
Functiontest_basic_completion
Test basic chat completion
tests/test_api_compatibility.py:26
Methodtest_basic_none_approach_logging
Test basic none approach with conversation logging
tests/test_conversation_logging_server.py:156
Methodtest_batch_formation
Test that multiple requests form a batch
tests/test_batching.py:74
Methodtest_batch_mode_errors
Test error conditions in batch mode
tests/test_batching.py:356
Methodtest_batch_stats
Test that batch statistics are collected correctly
tests/test_batching.py:129
Methodtest_batch_timeout
Test that partial batches process after timeout
tests/test_batching.py:91
Methodtest_batching_performance_improvement
Test that batching provides performance improvement
tests/test_batching.py:321
Methodtest_cerebras_client_receives_http_client
Test that Cerebras client receives the configured httpx client.
tests/test_ssl_config.py:176
Methodtest_chat_completion_model_dump_includes_reasoning_tokens
Test that ChatCompletion.model_dump includes reasoning_tokens in usage
tests/test_reasoning_integration.py:112
Methodtest_chat_completion_model_dump_structure
Test ChatCompletion model_dump includes reasoning_tokens
tests/test_reasoning_simple.py:173
Methodtest_chat_completion_response_structure
Test that chat completion responses have proper structure
tests/test_reasoning_integration.py:206
Methodtest_chat_completion_usage_with_reasoning_tokens
Test ChatCompletionUsage supports reasoning_tokens
tests/test_reasoning_simple.py:150
Methodtest_cli_arguments
Test that CLI arguments are properly parsed
tests/test_batching.py:339
Methodtest_cli_no_ssl_verify_flag
Test --no-ssl-verify CLI flag disables SSL verification.
tests/test_ssl_config.py:46
Methodtest_cli_overrides_env
Test that CLI arguments override environment variables.
tests/test_ssl_config.py:81
Methodtest_cli_ssl_cert_path
Test --ssl-cert-path CLI argument.
tests/test_ssl_config.py:52
Functiontest_compact_plugin
Test compact plugin module
tests/test_plugins.py:308
Methodtest_complex_class_based_approaches_logging
Test RStar and Z3 Solver class-based approaches log API calls correctly
tests/test_conversation_logging_approaches.py:279
Methodtest_compression_triggered_uses_llm
(self)
tests/test_compact_plugin.py:101
Methodtest_concurrent_requests_logging
Test that concurrent requests are logged properly
tests/test_conversation_logging_server.py:377
Functiontest_confidence_calculator
Test ConfidenceCalculator functionality.
tests/test_deepconf.py:32
Functiontest_config_validation
Test configuration validation.
tests/test_deepconf.py:106
Methodtest_connect_and_discover_unsupported_transport
Test unsupported transport type
tests/test_mcp_plugin.py:211
Methodtest_connect_sse_success
Test successful SSE connection
tests/test_mcp_plugin.py:220
Methodtest_connect_sse_validation
Test SSE connection validation
tests/test_mcp_plugin.py:195
Methodtest_connect_stdio_validation
Test stdio connection validation
tests/test_mcp_plugin.py:187
Methodtest_connect_websocket_validation
Test WebSocket connection validation
tests/test_mcp_plugin.py:203
Methodtest_conversation_lifecycle
Test complete conversation lifecycle: start, log calls, errors, finalize
tests/test_conversation_logger.py:47
Methodtest_conversation_pair
(self)
tests/test_compact_plugin.py:41
Methodtest_cot_reflection_approach_logging
Test CoT Reflection approach with conversation logging
tests/test_conversation_logging_server.py:224
Methodtest_count_reasoning_tokens_basic
Test basic functionality of count_reasoning_tokens
tests/test_reasoning_tokens.py:30
Methodtest_count_reasoning_tokens_edge_cases_truncated
Test edge cases with truncated responses
tests/test_reasoning_simple.py:127
Methodtest_count_reasoning_tokens_empty_cases
Test edge cases with empty or invalid input
tests/test_reasoning_simple.py:54
Methodtest_count_reasoning_tokens_empty_input
Test with empty or None input
tests/test_reasoning_tokens.py:69
Methodtest_count_reasoning_tokens_malformed_tags
Test with malformed think tags
tests/test_reasoning_tokens.py:75
Methodtest_count_reasoning_tokens_mixed_complete_and_truncated
Test with both complete and truncated think blocks
tests/test_reasoning_simple.py:100
Methodtest_count_reasoning_tokens_multiline
Test with multiline think blocks
tests/test_reasoning_tokens.py:113
Methodtest_count_reasoning_tokens_multiple_blocks
Test with multiple think tag blocks
tests/test_reasoning_simple.py:42
Methodtest_count_reasoning_tokens_multiple_think_blocks
Test with multiple think tag blocks
tests/test_reasoning_tokens.py:52
Methodtest_count_reasoning_tokens_no_false_positives
Test that we don't count think-like content that isn't actually truncated
tests/test_reasoning_simple.py:116
Methodtest_count_reasoning_tokens_no_think_tags
Test with text that has no think tags
tests/test_reasoning_tokens.py:42
Methodtest_count_reasoning_tokens_special_characters
Test with special characters in think blocks
tests/test_reasoning_tokens.py:125
Methodtest_count_reasoning_tokens_tokenizer_error
Test fallback when tokenizer fails
tests/test_reasoning_tokens.py:101
Methodtest_count_reasoning_tokens_truncated_response
Test counting tokens when response is truncated (no closing </think> tag)
tests/test_reasoning_simple.py:89
Methodtest_count_reasoning_tokens_with_mock_tokenizer
Test with a simple mock tokenizer
tests/test_reasoning_simple.py:65
Methodtest_count_reasoning_tokens_with_think_tags
Test counting tokens in think tags
tests/test_reasoning_simple.py:22
Methodtest_count_reasoning_tokens_with_tokenizer
Test with a mock tokenizer for precise counting
tests/test_reasoning_tokens.py:90
Methodtest_count_reasoning_tokens_without_think_tags
Test with text that has no think tags
tests/test_reasoning_simple.py:32
Methodtest_create_default_config
Test creating default configuration file
tests/test_mcp_plugin.py:109
Methodtest_default_ssl_verify_enabled
Test that SSL verification is enabled by default.
tests/test_ssl_config.py:41
Methodtest_default_stdio_config
Test default configuration for stdio transport
tests/test_mcp_plugin.py:32
Methodtest_default_when_nothing_set
(self)
tests/test_compact_plugin.py:68
Methodtest_embedded_tags_not_split
(self)
tests/test_compact_plugin.py:263
Methodtest_empty
(self)
tests/test_compact_plugin.py:63
Methodtest_empty_string
(self)
tests/test_compact_plugin.py:30
Methodtest_empty_string
(self)
tests/test_compact_plugin.py:50
Methodtest_env_ssl_cert_path
Test OPTILLM_SSL_CERT_PATH environment variable.
tests/test_ssl_config.py:73
Methodtest_env_ssl_verify_false
Test OPTILLM_SSL_VERIFY=false environment variable.
tests/test_ssl_config.py:59
Methodtest_env_ssl_verify_true
Test OPTILLM_SSL_VERIFY=true environment variable.
tests/test_ssl_config.py:66
Methodtest_env_var_as_fallback
(self)
tests/test_compact_plugin.py:74
← previousnext →901–1,000 of 1,129, ranked by callers