Commit History

revert to working app.py
9e3e69f

Scott Cogan commited on

chore: update gradio to >=4.10.0 for Spaces compatibility
a29f2d4

Scott Cogan commited on

test: use minimal Gradio ChatInterface to debug Spaces initialization
e6fcb4d

Scott Cogan commited on

chore: add debug prints to trace initialization in Spaces
fe0da85

Scott Cogan commited on

fix: require gradio>=3.41.0 for Hugging Face Spaces compatibility
4fbafa6

Scott Cogan commited on

feat: Expose Gradio Blocks as demo for Hugging Face Spaces compatibility
1059969

Scott Cogan commited on

fix: Disable SSR mode in GradioUI launch to resolve blank UI issue
8ef9379

Scott Cogan commited on

fix: Remove share=True parameter from GradioUI launch as it's not supported on Hugging Face Spaces
943c318

Scott Cogan commited on

fix: Add share=True parameter to GradioUI launch call
de8d919

Scott Cogan commited on

fix: Remove hardcoded share parameter from GradioUI launch method
60359a8

Scott Cogan commited on

fix: Remove duplicate share parameter in GradioUI launch
17463b6

Scott Cogan commited on

fix: Update CustomCodeAgent to pass tools as list for template rendering
20cd8aa

Scott Cogan commited on

fix: Update CustomCodeAgent to use Jinja2 template rendering
e9c2ba5

Scott Cogan commited on

fix: Update CustomCodeAgent to safely handle initialization and template attributes
16cd708

Scott Cogan commited on

fix: Update CustomCodeAgent to properly handle template population using string format
4ed31d3

Scott Cogan commited on

fix: add CustomCodeAgent to handle both list and dictionary tool formats
0bf52c9

Scott Cogan commited on

fix: pass tools as dictionary to match template expectations
c1ed0a4

Scott Cogan commited on

fix: update template validation to use list of tools and add proper TestTool class
d442bc0

Scott Cogan commited on

fix: pass tools as list to match CodeAgent requirements
2c41210

Scott Cogan commited on

fix: pass tools as dictionary to match template usage
c09aeb1

Scott Cogan commited on

fix: create proper Tool instance for template validation
885e6d3

Scott Cogan commited on

fix: update template to iterate over tools list directly
82c778f

Scott Cogan commited on

fix: update template validation to use dictionary of tools
49446cb

Scott Cogan commited on

fix: update template to use tools.values() for proper tool iteration
954e4c6

Scott Cogan commited on

feat: add tools dictionary for template rendering and additional debug logging
cda00a8

Scott Cogan commited on

feat: add debug logging to inspect tools list and verify tool attributes
d61deee

Scott Cogan commited on

fix: ensure all tools are proper Tool instances with required attributes
e56e6b6

Scott Cogan commited on

fix: pass tools as a dictionary to match template expectations
c75b49f

Scott Cogan commited on

fix: update tool input/output types to use smolagents allowed types
bc9d42a

Scott Cogan commited on

fix: convert tools to proper Tool subclasses with name and description attributes
fb0a09c

Scott Cogan commited on

fix: wrap tools in Tool objects with name and description attributes
18ec0f7

Scott Cogan commited on

fix: pass tools as a list to CodeAgent
ad6ada3

Scott Cogan commited on

fix: pass tools as a dictionary to CodeAgent
32d0c27

Scott Cogan commited on

fix: use proper tool objects in template validation
d688122

Scott Cogan commited on

fix: modify system_prompt to be a direct string instead of a dictionary
26cf521

Scott Cogan commited on

fix: preserve original template structure from prompts.yaml
e573c02

Scott Cogan commited on

fix: update templates in dictionary after validation
f5b36b1

Scott Cogan commited on

fix: ensure all templates have at least one template node
f32faf3

Scott Cogan commited on

fix: correct malformed code block marker in system prompt template
4387720

Scott Cogan commited on

fix: add template node to system prompt to ensure valid Jinja2 template
0652d95

Scott Cogan commited on

fix: remove template processing and use templates directly from prompts.yaml
655b2f6

Scott Cogan commited on

fix: update all templates to use YAML block scalar syntax and remove escaped newlines
c7acf7c

Scott Cogan commited on

fix: update system prompt template formatting for proper Jinja2 parsing
16ef7b5

Scott Cogan commited on

fix: remove template processing to prevent double-wrapping of templates
24b6371

Scott Cogan commited on

fix: simplify template handling by removing unnecessary processing
dfde1fc

Scott Cogan commited on

fix: simplify template processing to prevent double-wrapping and ensure proper spacing
4481e03

Scott Cogan commited on

fix: simplify template processing and remove unnecessary escaping
2304ec1

Scott Cogan commited on

fix: improve template processing to handle Jinja2 templates correctly
79161d9

Scott Cogan commited on

fix: resolve template compilation error by removing unnecessary template wrapping
3617c7c

Scott Cogan commited on

fix: Preserve system prompt template variables
2b4635e

Scott Cogan commited on