diff --git a/20251011.md b/20251011.md index 24d6d5f..03d52c4 100644 --- a/20251011.md +++ b/20251011.md @@ -4,8 +4,9 @@ #### 分支:release/v0.11.0 +https://github.com/vllm-project/vllm/blob/releases/v0.11.0/vllm/v1/structured_output/request.py + ```python -# https://github.com/vllm-project/vllm/blob/releases/v0.11.0/vllm/v1/structured_output/request.py def get_structured_output_key(sampling_params: SamplingParams) -> StructuredOutputKey: params = sampling_params.structured_outputs assert params is not None, "params can't be None." @@ -37,8 +38,9 @@ def get_structured_output_key(sampling_params: SamplingParams) -> StructuredOutp #### 分支:release/v0.10.2 +https://github.com/vllm-project/vllm/blob/releases/v0.10.2/vllm/v1/structured_output/request.py + ```python -# https://github.com/vllm-project/vllm/blob/releases/v0.10.2/vllm/v1/structured_output/request.py def get_structured_output_key( sampling_params: SamplingParams) -> StructuredOutputKey: # 参数用的是 guided_decoding @@ -72,8 +74,9 @@ def get_structured_output_key( #### 分支:release/v0.11.0 +https://github.com/vllm-project/vllm/blob/releases/v0.11.0/vllm/sampling_params.py + ```python -# https://github.com/vllm-project/vllm/blob/releases/v0.11.0/vllm/sampling_params.py class SamplingParams( msgspec.Struct, omit_defaults=True, # type: ignore[call-arg] @@ -573,6 +576,8 @@ class SamplingParams( #### 分支:release/v0.10.2 +https://github.com/vllm-project/vllm/blob/releases/v0.10.2/vllm/sampling_params.py + ```python # SPDX-License-Identifier: Apache-2.0 # SPDX-FileCopyrightText: Copyright contributors to the vLLM project