Skip to content

Commit

Permalink
chore: LLM - Fixed the test_code_chat_model_send_message_streaming
Browse files Browse the repository at this point in the history
…test

PiperOrigin-RevId: 565637309
  • Loading branch information
Ark-kun authored and copybara-github committed Sep 15, 2023
1 parent 5b2492c commit 6fb30bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system/aiplatform/test_language_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def test_code_generation_streaming(self):
def test_code_chat_model_send_message_streaming(self):
aiplatform.init(project=e2e_base._PROJECT, location=e2e_base._LOCATION)

chat_model = language_models.ChatModel.from_pretrained("codechat-bison@001")
chat_model = language_models.CodeChatModel.from_pretrained("codechat-bison@001")
chat = chat_model.start_chat()

message1 = "Please help write a function to calculate the max of two numbers"
Expand Down

0 comments on commit 6fb30bc

Please sign in to comment.