Skip to content

Good jobs, thank you. Two tips for you all. #1

@yizhangliu

Description

@yizhangliu
  1. When you replace ".get_graph().draw_png()" with ".get_graph().draw_mermaid_png() ", you don't need to install pygraphviz.
  2. You can directly use ChatOpenAI, which can replace ChatNebius.
      from langchain_openai import ChatOpenAI
      llm = ChatOpenAI(
                  model=MODEL_NAME, 
                  base_url=BASE_URL, 
                  api_key=API_KEY,
                  temperature=0.2,
                  ...
                  )

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