Skip to content

Commit 6fb30bc

Browse files
Ark-kuncopybara-github
authored andcommitted
chore: LLM - Fixed the test_code_chat_model_send_message_streaming test
PiperOrigin-RevId: 565637309
1 parent 5b2492c commit 6fb30bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/aiplatform/test_language_models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def test_code_generation_streaming(self):
306306
def test_code_chat_model_send_message_streaming(self):
307307
aiplatform.init(project=e2e_base._PROJECT, location=e2e_base._LOCATION)
308308

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

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

0 commit comments

Comments
 (0)