mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-07 02:58:21 +00:00
remove response parser
This commit is contained in:
parent
662f171e88
commit
42f0e91909
2 changed files with 0 additions and 4 deletions
|
@ -26,7 +26,6 @@ from llama_stack.apis.common.content_types import ContentDelta, InterleavedConte
|
||||||
from llama_stack.apis.inference import (
|
from llama_stack.apis.inference import (
|
||||||
CompletionMessage,
|
CompletionMessage,
|
||||||
ResponseFormat,
|
ResponseFormat,
|
||||||
ResponseOutputParser,
|
|
||||||
SamplingParams,
|
SamplingParams,
|
||||||
ToolCall,
|
ToolCall,
|
||||||
ToolChoice,
|
ToolChoice,
|
||||||
|
@ -166,7 +165,6 @@ class AgentConfig(AgentConfigCommon):
|
||||||
instructions: str
|
instructions: str
|
||||||
enable_session_persistence: bool
|
enable_session_persistence: bool
|
||||||
response_format: Optional[ResponseFormat] = None
|
response_format: Optional[ResponseFormat] = None
|
||||||
response_output_parser: Optional[ResponseOutputParser] = Field(default=ResponseOutputParser.default)
|
|
||||||
|
|
||||||
|
|
||||||
class AgentConfigOverridablePerTurn(AgentConfigCommon):
|
class AgentConfigOverridablePerTurn(AgentConfigCommon):
|
||||||
|
|
|
@ -19,7 +19,6 @@ from typing import (
|
||||||
|
|
||||||
from llama_models.llama3.api.datatypes import (
|
from llama_models.llama3.api.datatypes import (
|
||||||
BuiltinTool,
|
BuiltinTool,
|
||||||
ResponseOutputParser,
|
|
||||||
SamplingParams,
|
SamplingParams,
|
||||||
StopReason,
|
StopReason,
|
||||||
ToolCall,
|
ToolCall,
|
||||||
|
@ -320,7 +319,6 @@ class ChatCompletionRequest(BaseModel):
|
||||||
response_format: Optional[ResponseFormat] = None
|
response_format: Optional[ResponseFormat] = None
|
||||||
stream: Optional[bool] = False
|
stream: Optional[bool] = False
|
||||||
logprobs: Optional[LogProbConfig] = None
|
logprobs: Optional[LogProbConfig] = None
|
||||||
response_output_parser: Optional[ResponseOutputParser] = Field(default=ResponseOutputParser.default)
|
|
||||||
|
|
||||||
|
|
||||||
@json_schema_type
|
@json_schema_type
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue