Commit History
Refactor answer_message function to clean up final response handling by removing redundant print statement and trimming the response content for better formatting. b7ddafe
Add docstring to get_image_file function in agent.py to clarify its purpose and usage. efd70d5
Remove version tag from Hugging Face model repository in agent.py for consistency. 8e56b06
Add placeholder function for image file retrieval in agent.py ee9c753
Fetch question data from API and update agent to use dynamic question retrieval instead of a static prompt. 2388a4d
Update Hugging Face model repository in agent.py to use DeepSeek-R1-0528 for improved text generation. 4925b03
fixing empty output 685b36d
Refactor answer_message function to prepend a SystemMessage for context, handle tool calls more robustly, and ensure final responses are generated without tool invocation. This enhances the overall response accuracy and flow. ce86dad
fix d3a1a1a
Fix web search output to use 'href' instead of 'url' for result links in agent.py 13e8626
update ddgs d740763
Enhance answer_message function to include tool execution and result integration. The function now processes tool calls from the AI response, executes them, and appends the results before generating the final response. 9ad9538
update prompt 48a69ad
Temporarily running on 5 questions 854b294
reduce api call 186221a
update tool calling 3b80656
update ddgs 6a9721c
fix2 7ce37be
web search tools d885880
fix 62cf8a8
Refine answer_message function in agent.py to improve response generation. Updated prompt structure to guide the model in providing concise answers without thought processes, ensuring clarity in responses. 2337449
Add .cursorignore to .gitignore and load environment variables in agent.py 55f8ad2
Enhance agent functionality by integrating message handling and graph structure. Added read_message and answer_message functions to process user input and generate responses using the chat model. Updated AgentState to support both HumanMessage and AIMessage types. e75d735
adding edges 5c92669
Refactor agent.py to use HuggingFaceEndpoint for model initialization and add AgentState TypedDict for message structure 7a7a231
doing assignment 9fb199c
requirements2 1acb765
Merge branch 'main' of https://github.com/jytan023/Final_Assignment_Template fa39913
requirements 6f7371f
Add GitHub Actions workflow to sync with Hugging Face 301eda5 unverified
JY commited on