Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tiiny-AI/PowerInfer
/ endpoints
Endpoints
6 in github.com/Tiiny-AI/PowerInfer
⨍
Functions
18,885
◇
Types & classes
5,497
↳
Endpoints
6
Route
chat_completions
app.route('/chat/completions', methods=['POST'])
examples/server/api_like_OAI.py:None
Route
completion
app.route('/completions', methods=['POST'])
examples/server/api_like_OAI.py:None
Route
test_ctx_shift_disabled_short_prompt
pytest.mark.parametrize("n_predict,n_token_output,truncated", [ (64, 64, False), (-1, 120, True), ])
smallthinker/tools/server/tests/unit/test_ctx_shift.py:None
Route
test_embedding_mixed_input
pytest.mark.parametrize( "input,is_multi_prompt", [ # do not crash on empty input ("",
smallthinker/tools/server/tests/unit/test_embedding.py:None
Route
test_invalid_input_extra_req
pytest.mark.parametrize("input_extra", [ {}, {"filename": "ok"}, {"filename": 123}, {"filename
smallthinker/tools/server/tests/unit/test_infill.py:None
Route
test_reasoning_budget
pytest.mark.parametrize("template_name,reasoning_budget,expected_end", [ ("deepseek-ai-DeepSeek-R1-Distill
smallthinker/tools/server/tests/unit/test_template.py:None