Commit History
update app.py a35b479
feat: Enable authenticated Hugging Face Hub downloads for GAIA using `HF_TOKEN` and enhance the download failure warning message. fdc4cd7
update 66f6a5c
feat: Add image and video analysis tools using Groq Vision, integrate file attachment handling into the agent, and configure VS Code Python settings. abeecf3
trying to extract file d4cc0e0
a e37b469
Refactor web_search function to remove max_results parameter and default to 5 results in DuckDuckGo search. 5a3ef53
add wiki 99ed785
add wiki tool 886e483
update prompt bb3dd2c
trying to add thought process e639b52
Refactor agent.py to remove the get_image_file tool and update app copy.py to process and print multiple questions from the API response. 4f044cc
update model 2792bbf
strip e076b57
strip 99bae82
clean final response ef12028
Refactor answer_message function to clean up final response handling by removing redundant print statement and trimming the response content for better formatting. 3b65bf0
Add docstring to get_image_file function in agent.py to clarify its purpose and usage. 00950b6
Remove version tag from Hugging Face model repository in agent.py for consistency. bf20193
Add placeholder function for image file retrieval in agent.py 77401f1
Fetch question data from API and update agent to use dynamic question retrieval instead of a static prompt. e5bf7aa
Update Hugging Face model repository in agent.py to use DeepSeek-R1-0528 for improved text generation. 3970751
fixing empty output 7eed104
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. 4855d18
fix d8f3d69
Fix web search output to use 'href' instead of 'url' for result links in agent.py 4f4545a
update ddgs 0ad82d4
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. 1488f42
update prompt 454df40
Temporarily running on 5 questions 8d12fc2
reduce api call 06d9cd6
update tool calling 64af356
update ddgs d28e593
fix2 4a478f8
web search tools e815634
fix c66bb70
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. 8af65e5
Add .cursorignore to .gitignore and load environment variables in agent.py d403fb4
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. 82502b6
adding edges d9f73f4
Refactor agent.py to use HuggingFaceEndpoint for model initialization and add AgentState TypedDict for message structure 4017d1c
doing assignment 05a926a
requirements2 1756cf7
Merge branch 'main' of https://github.com/jytan023/Final_Assignment_Template 5fc0f20
requirements a9a9be7
Add GitHub Actions workflow to sync with Hugging Face 0b41180 unverified
JY commited on