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
send_request
Log and forward requests
optillm/plugins/mcp_plugin.py:235
Method
setUp
Set up test fixtures
tests/test_conversation_logger.py:14
Method
setUp
Set up test fixtures
tests/test_batching.py:34
Method
setUp
Set up MLX test fixtures
tests/test_batching.py:166
Method
setUp
Set up test fixtures with logging capture
tests/test_mars_imo25.py:120
Method
setUp
Reset server_config before each test.
tests/test_ssl_config.py:26
Method
setUp
Set up test environment.
tests/test_ssl_config.py:92
Method
setUp
Set up test environment.
tests/test_ssl_config.py:228
Method
setUp
Set up test environment.
tests/test_ssl_config.py:314
Method
setUp
Set up test client
tests/test_conversation_logging_server.py:113
Method
setUp
Check server availability
tests/test_conversation_logging_server.py:531
Method
setUp
Set up test fixtures
tests/test_reasoning_tokens.py:135
Method
setUp
Set up test environment
tests/test_conversation_logging_approaches.py:89
Method
setUp
Set up test fixtures.
tests/test_json_plugin.py:42
Method
setUp
Set up integration test environment
tests/test_json_plugin.py:268
Method
setUp
Set up test fixtures
tests/test_reasoning_integration.py:34
Method
setUp
Set up test fixtures
tests/test_mars_parallel.py:91
Method
setUpClass
Set up OptILLM server for testing
tests/test_conversation_logging_server.py:33
Method
setup_efficient_attention
Replace standard attention with memory-efficient version
optillm/inference.py:1393
Method
solve_with_structure
Stage 2: Use the discovered reasoning structure to solve a specific problem.
optillm/plugins/deepthink/self_discover.py:391
Function
start_test_server
Start optillm server for testing Returns the process handle
tests/test_utils.py:39
Method
stop
Stop health checking
optillm/plugins/proxy/health.py:33
Function
strip_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
Method
success_rate
(self)
optillm/mars/strategy_network.py:47
Method
success_rate
Calculate the success rate of this strategy.
optillm/plugins/spl/strategy.py:60
Method
tearDown
Clean up test fixtures
tests/test_conversation_logger.py:20
Method
tearDown
Clean up after tests
tests/test_batching.py:60
Method
tearDown
Clean up test fixtures
tests/test_mars_imo25.py:138
Method
tearDown
Restore original server_config after each test.
tests/test_ssl_config.py:36
Method
tearDown
Restore original server_config.
tests/test_ssl_config.py:96
Method
tearDown
Restore original server_config.
tests/test_ssl_config.py:232
Method
tearDown
Restore original server_config.
tests/test_ssl_config.py:318
Method
tearDown
Clean up test environment
tests/test_conversation_logging_approaches.py:107
Method
tearDown
Clean up test fixtures
tests/test_mars_parallel.py:110
Method
tearDownClass
Clean up server
tests/test_conversation_logging_server.py:63
Method
test_answer_extraction_analysis
Test answer extraction specifically with controlled responses
tests/test_mars_imo25.py:256
Method
test_api_without_auth_header
Test API still returns proper errors without auth
tests/test_reasoning_tokens.py:249
Function
test_approach_prefix
Test approach prefix in model name
tests/test_api_compatibility.py:62
Method
test_async
()
tests/test_mcp_plugin.py:431
Method
test_azure_client_receives_http_client
Test that AzureOpenAI client receives the configured httpx client.
tests/test_ssl_config.py:201
Function
test_basic_completion
Test basic chat completion
tests/test_api_compatibility.py:26
Method
test_basic_none_approach_logging
Test basic none approach with conversation logging
tests/test_conversation_logging_server.py:156
Method
test_batch_formation
Test that multiple requests form a batch
tests/test_batching.py:74
Method
test_batch_mode_errors
Test error conditions in batch mode
tests/test_batching.py:356
Method
test_batch_stats
Test that batch statistics are collected correctly
tests/test_batching.py:129
Method
test_batch_timeout
Test that partial batches process after timeout
tests/test_batching.py:91
Method
test_batching_performance_improvement
Test that batching provides performance improvement
tests/test_batching.py:321
Method
test_cerebras_client_receives_http_client
Test that Cerebras client receives the configured httpx client.
tests/test_ssl_config.py:176
Method
test_chat_completion_model_dump_includes_reasoning_tokens
Test that ChatCompletion.model_dump includes reasoning_tokens in usage
tests/test_reasoning_integration.py:112
Method
test_chat_completion_model_dump_structure
Test ChatCompletion model_dump includes reasoning_tokens
tests/test_reasoning_simple.py:173
Method
test_chat_completion_response_structure
Test that chat completion responses have proper structure
tests/test_reasoning_integration.py:206
Method
test_chat_completion_usage_with_reasoning_tokens
Test ChatCompletionUsage supports reasoning_tokens
tests/test_reasoning_simple.py:150
Method
test_cli_arguments
Test that CLI arguments are properly parsed
tests/test_batching.py:339
Method
test_cli_no_ssl_verify_flag
Test --no-ssl-verify CLI flag disables SSL verification.
tests/test_ssl_config.py:46
Method
test_cli_overrides_env
Test that CLI arguments override environment variables.
tests/test_ssl_config.py:81
Method
test_cli_ssl_cert_path
Test --ssl-cert-path CLI argument.
tests/test_ssl_config.py:52
Function
test_compact_plugin
Test compact plugin module
tests/test_plugins.py:308
Method
test_complex_class_based_approaches_logging
Test RStar and Z3 Solver class-based approaches log API calls correctly
tests/test_conversation_logging_approaches.py:279
Method
test_compression_triggered_uses_llm
(self)
tests/test_compact_plugin.py:101
Method
test_concurrent_requests_logging
Test that concurrent requests are logged properly
tests/test_conversation_logging_server.py:377
Function
test_confidence_calculator
Test ConfidenceCalculator functionality.
tests/test_deepconf.py:32
Function
test_config_validation
Test configuration validation.
tests/test_deepconf.py:106
Method
test_connect_and_discover_unsupported_transport
Test unsupported transport type
tests/test_mcp_plugin.py:211
Method
test_connect_sse_success
Test successful SSE connection
tests/test_mcp_plugin.py:220
Method
test_connect_sse_validation
Test SSE connection validation
tests/test_mcp_plugin.py:195
Method
test_connect_stdio_validation
Test stdio connection validation
tests/test_mcp_plugin.py:187
Method
test_connect_websocket_validation
Test WebSocket connection validation
tests/test_mcp_plugin.py:203
Method
test_conversation_lifecycle
Test complete conversation lifecycle: start, log calls, errors, finalize
tests/test_conversation_logger.py:47
Method
test_conversation_pair
(self)
tests/test_compact_plugin.py:41
Method
test_cot_reflection_approach_logging
Test CoT Reflection approach with conversation logging
tests/test_conversation_logging_server.py:224
Method
test_count_reasoning_tokens_basic
Test basic functionality of count_reasoning_tokens
tests/test_reasoning_tokens.py:30
Method
test_count_reasoning_tokens_edge_cases_truncated
Test edge cases with truncated responses
tests/test_reasoning_simple.py:127
Method
test_count_reasoning_tokens_empty_cases
Test edge cases with empty or invalid input
tests/test_reasoning_simple.py:54
Method
test_count_reasoning_tokens_empty_input
Test with empty or None input
tests/test_reasoning_tokens.py:69
Method
test_count_reasoning_tokens_malformed_tags
Test with malformed think tags
tests/test_reasoning_tokens.py:75
Method
test_count_reasoning_tokens_mixed_complete_and_truncated
Test with both complete and truncated think blocks
tests/test_reasoning_simple.py:100
Method
test_count_reasoning_tokens_multiline
Test with multiline think blocks
tests/test_reasoning_tokens.py:113
Method
test_count_reasoning_tokens_multiple_blocks
Test with multiple think tag blocks
tests/test_reasoning_simple.py:42
Method
test_count_reasoning_tokens_multiple_think_blocks
Test with multiple think tag blocks
tests/test_reasoning_tokens.py:52
Method
test_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
Method
test_count_reasoning_tokens_no_think_tags
Test with text that has no think tags
tests/test_reasoning_tokens.py:42
Method
test_count_reasoning_tokens_special_characters
Test with special characters in think blocks
tests/test_reasoning_tokens.py:125
Method
test_count_reasoning_tokens_tokenizer_error
Test fallback when tokenizer fails
tests/test_reasoning_tokens.py:101
Method
test_count_reasoning_tokens_truncated_response
Test counting tokens when response is truncated (no closing </think> tag)
tests/test_reasoning_simple.py:89
Method
test_count_reasoning_tokens_with_mock_tokenizer
Test with a simple mock tokenizer
tests/test_reasoning_simple.py:65
Method
test_count_reasoning_tokens_with_think_tags
Test counting tokens in think tags
tests/test_reasoning_simple.py:22
Method
test_count_reasoning_tokens_with_tokenizer
Test with a mock tokenizer for precise counting
tests/test_reasoning_tokens.py:90
Method
test_count_reasoning_tokens_without_think_tags
Test with text that has no think tags
tests/test_reasoning_simple.py:32
Method
test_create_default_config
Test creating default configuration file
tests/test_mcp_plugin.py:109
Method
test_default_ssl_verify_enabled
Test that SSL verification is enabled by default.
tests/test_ssl_config.py:41
Method
test_default_stdio_config
Test default configuration for stdio transport
tests/test_mcp_plugin.py:32
Method
test_default_when_nothing_set
(self)
tests/test_compact_plugin.py:68
Method
test_embedded_tags_not_split
(self)
tests/test_compact_plugin.py:263
Method
test_empty
(self)
tests/test_compact_plugin.py:63
Method
test_empty_string
(self)
tests/test_compact_plugin.py:30
Method
test_empty_string
(self)
tests/test_compact_plugin.py:50
Method
test_env_ssl_cert_path
Test OPTILLM_SSL_CERT_PATH environment variable.
tests/test_ssl_config.py:73
Method
test_env_ssl_verify_false
Test OPTILLM_SSL_VERIFY=false environment variable.
tests/test_ssl_config.py:59
Method
test_env_ssl_verify_true
Test OPTILLM_SSL_VERIFY=true environment variable.
tests/test_ssl_config.py:66
Method
test_env_var_as_fallback
(self)
tests/test_compact_plugin.py:74
← previous
next →
901–1,000 of 1,129, ranked by callers