feat: solution for 'Экзамен: Самокорректирующийся агент'

This commit is contained in:
2026-06-30 14:26:23 +03:00
parent 2c8d855506
commit 0b29fa82f0
3 changed files with 26 additions and 26 deletions
+12
View File
@@ -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()