iflytek / spark-ai-python

星火大模型 python sdk库
MIT License
252 stars 21 forks source link

非交互式 (建议Demo使用) 的 BUG #2

Closed shell-nlp closed 6 months ago

shell-nlp commented 10 months ago
Traceback (most recent call last):
  File "/home/dev/liuyu/project/llm-os/tests/test_spark_sdk.py", line 19, in <module>
    result = client.chat_in("你是谁")
  File "/home/dev/anaconda3/envs/langchain/lib/python3.10/site-packages/sparkai/socket_mode/websocket_client/__init__.py", line 459, in chat_in
    result = self.chat_outputer.merged_result
AttributeError: 'NoneType' object has no attribute 'merged_result'
whybeyoung commented 6 months ago

fix by new implement