Comments cleanup
Browse files- my_agent.py +0 -12
my_agent.py
CHANGED
|
@@ -27,30 +27,18 @@ from my_tool_excel_load import ExcelLoadTool
|
|
| 27 |
from my_tool_python_load import PythonLoadTool
|
| 28 |
from dotenv import load_dotenv
|
| 29 |
|
| 30 |
-
# https://huggingface.co/docs/transformers/model_doc/mistral?usage=Pipeline
|
| 31 |
-
|
| 32 |
|
| 33 |
# --- Basic Agent Definition ---
|
| 34 |
# ----- THIS IS WHERE YOU CAN BUILD WHAT YOU WANT ------
|
| 35 |
class MyAgent:
|
| 36 |
-
#MODEL_REASONING = "deepseek-ai/DeepSeek-V3.1" # better
|
| 37 |
-
|
| 38 |
-
# check again as there were problems with duck duck go
|
| 39 |
MODEL_REASONING = "deepseek-ai/DeepSeek-V3.1-Terminus" # much worse
|
| 40 |
|
| 41 |
-
#MODEL_REASONING = "openai/gpt-oss-120b" # not working at all
|
| 42 |
-
|
| 43 |
-
# check again as there were problems with duck duck go
|
| 44 |
-
# MODEL_REASONING = "Qwen/Qwen3-Coder-480B-A35B-Instruct" # worked rather quick
|
| 45 |
-
#MODEL_REASONING = "deepseek-ai/DeepSeek-R1-0528"
|
| 46 |
-
|
| 47 |
chess_board_model_name = "my_chess_pieces_recognition.pth"
|
| 48 |
chess_board_model_dir = "/mnt/c/Users/krzsa/IdeaProjects/Agents-Course-Assignment/saved_models"
|
| 49 |
|
| 50 |
def __init__(self):
|
| 51 |
print("Agent initialized.")
|
| 52 |
load_dotenv()
|
| 53 |
-
self.mistral_api_key = os.environ["MISTRAL_API_KEY"]
|
| 54 |
self.__create_agents__()
|
| 55 |
|
| 56 |
def __create_agents__(self):
|
|
|
|
| 27 |
from my_tool_python_load import PythonLoadTool
|
| 28 |
from dotenv import load_dotenv
|
| 29 |
|
|
|
|
|
|
|
| 30 |
|
| 31 |
# --- Basic Agent Definition ---
|
| 32 |
# ----- THIS IS WHERE YOU CAN BUILD WHAT YOU WANT ------
|
| 33 |
class MyAgent:
|
|
|
|
|
|
|
|
|
|
| 34 |
MODEL_REASONING = "deepseek-ai/DeepSeek-V3.1-Terminus" # much worse
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
chess_board_model_name = "my_chess_pieces_recognition.pth"
|
| 37 |
chess_board_model_dir = "/mnt/c/Users/krzsa/IdeaProjects/Agents-Course-Assignment/saved_models"
|
| 38 |
|
| 39 |
def __init__(self):
|
| 40 |
print("Agent initialized.")
|
| 41 |
load_dotenv()
|
|
|
|
| 42 |
self.__create_agents__()
|
| 43 |
|
| 44 |
def __create_agents__(self):
|