Skip to content

Some Use PROB #1

@raindin

Description

@raindin

ValueError: The chat model does not have an 'llm' attribute. Available attributes: ['abstractmethods', 'class', 'delattr', 'dict', 'dir', 'doc', 'eq', 'format', 'ge', 'getattribute', 'gt', 'hash', 'init', 'init_subclass', 'le', 'lt', 'module', 'ne', 'new', 'reduce', 'reduce_ex', 'repr', 'setattr', 'sizeof', 'slots', 'str', 'subclasshook', 'weakref', '_abc_impl', 'chat']
Traceback:
File "/root/miniconda3/envs/chatbot/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script
exec(code, module.dict)
File "/root/chatbot-main/chatbot-main/web.py", line 195, in
for res in client.completion(prompt, cur_llm_mode, cur_agent_mode, cur_dialogue_mode, "DEFAULT"):
File "/root/chatbot-main/chatbot-main/chat/chat_client.py", line 23, in completion
raise ValueError(f"The chat model does not have an 'llm' attribute. Available attribu

I change the api-key, and v2ray port in run.sh, when I start it respond like this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions