feat: solution for 'Экзамен: Самокорректирующийся агент'
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
from langchain_openai import ChatOpenAI
|
||||
|
||||
def main():
|
||||
# Simple test to ensure imports work
|
||||
try:
|
||||
llm = ChatOpenAI()
|
||||
print("LangChain OpenAI import successful. LLM instance created.")
|
||||
except Exception as e:
|
||||
print(f"Error creating LLM instance: {e}")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user