We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 020294a commit 3efcd2dCopy full SHA for 3efcd2d
tests/integration_tests/test_assistant.py
@@ -79,7 +79,7 @@ def test_translate_api(logging_conf) -> None:
79
logging.config.dictConfig(logging_conf) # type: ignore
80
client = ZhipuAI() # 填写您自己的APIKey
81
try:
82
- generate = client.assistant.conversation(
+ translate_response = client.assistant.conversation(
83
assistant_id="9996ijk789lmn012o345p999",
84
model="glm-4-assistant",
85
messages=[
@@ -103,7 +103,7 @@ def test_translate_api(logging_conf) -> None:
103
}
104
105
)
106
- print(generate)
+ print(translate_response)
107
except zhipuai.core._errors.APIRequestFailedError as err:
108
print(err)
109
except zhipuai.core._errors.APIInternalError as err:
0 commit comments