llm-agent-backend/build/main.py
2026-06-06 19:29:23 +03:00

12 lines
447 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import sys
import os
if __name__ == "__main__":
# Добавляем папку app в пути поиска, как в вашей оригинальной «голове»
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), 'app'))
# Python сам найдет файл run.cp311-win_amd64.pyd и импортирует его
import run
# Запускаем сервер
run.start_app()