mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-11-09 14:23:43 +00:00
fix: gpt-3.5-turbo is an agent streaming model (#4673)
* gpt-3.5 is also agent streaming model * Add more streaming capable models * Add end-of-file-fixer * List full model names for clarity
This commit is contained in:
parent
d033a086d0
commit
650e1a1a6f
@ -24,4 +24,3 @@ renderer:
|
|||||||
add_method_class_prefix: true
|
add_method_class_prefix: true
|
||||||
add_member_class_prefix: false
|
add_member_class_prefix: false
|
||||||
filename: retriever_api.md
|
filename: retriever_api.md
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@ from typing import Optional
|
|||||||
|
|
||||||
from haystack.agents.types import Color
|
from haystack.agents.types import Color
|
||||||
|
|
||||||
STREAMING_CAPABLE_MODELS = ["davinci"]
|
STREAMING_CAPABLE_MODELS = ["text-davinci-003", "gpt-3.5-turbo", "gpt-35-turbo", "gpt-4"]
|
||||||
|
|
||||||
|
|
||||||
def print_text(text: str, end="", color: Optional[Color] = None) -> None:
|
def print_text(text: str, end="", color: Optional[Color] = None) -> None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user