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:
Vladimir Blagojevic 2023-04-26 13:56:24 +02:00 committed by GitHub
parent d033a086d0
commit 650e1a1a6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -24,4 +24,3 @@ renderer:
add_method_class_prefix: true
add_member_class_prefix: false
filename: retriever_api.md

View File

@ -2,7 +2,7 @@ from typing import Optional
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: