update toc for doc and dockerfile code style format (#6450)

Co-authored-by: Chayenne <zhaochen20@outlook.com>
This commit is contained in:
linzhuo
2025-05-27 13:05:11 +08:00
committed by GitHub
parent ae33584235
commit 7a0bbe6a64
7 changed files with 12 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
From lmsysorg/sglang:dev
FROM lmsysorg/sglang:dev
# Create non-root user with specified UID and GID
# NOTE: Replace with your own UID and GID. This is a workaround from https://github.com/microsoft/vscode-remote-release/issues/49#issuecomment-489060908.

View File

@@ -386,17 +386,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Response with tool_choice='required':\n",
"Content: None\n",
"Tool calls: [ChatCompletionMessageToolCall(id='call_NFO3TSZuRRO8Eu3Cv79uiQ', function=Function(arguments='{\"city\": \"Paris\", \"unit\": \"celsius\"}', name='get_current_weather'), type='function', index=0)]\n"
]
}
],
"outputs": [],
"source": [
"from openai import OpenAI\n",
"import json\n",
@@ -479,19 +469,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Response with specific function choice:\n",
"Content: None\n",
"Tool calls: [ChatCompletionMessageToolCall(id='call_fGL_1qsPQFqntNBPkSynJw', function=Function(arguments='{\"city\": \"Sophia Antipolis\", \"unit\": \"celsius\"}', name='get_current_weather'), type='function', index=0)]\n",
"Called function: get_current_weather\n",
"Arguments: {\"city\": \"Sophia Antipolis\", \"unit\": \"celsius\"}\n"
]
}
],
"outputs": [],
"source": [
"# Example with specific function choice - forces the model to call a specific function\n",
"messages_specific = [\n",

View File

@@ -83,3 +83,4 @@ The core features include:
references/hardware
references/advanced_deploy
references/performance_analysis_and_optimization
references/developer

View File

@@ -0,0 +1,8 @@
Developer Reference
==========================
.. toctree::
:maxdepth: 1
development_guide_using_docker.md
release_process.md
setup_github_runner.md