Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-12-07 | field superclass | Nathan-SR | |
2024-12-07 | work started on field interface --> inheritcance structure | Nathan-SR | |
2024-12-05 | playing with ink stroke editing and firefly | bobzel | |
2024-12-05 | added image to blob logic and firefly api call in drawingFillHandler | eleanor-park | |
2024-12-04 | Merge branch 'master' into eleanor-gptdraw | eleanor-park | |
2024-12-04 | created drawing fill handler | eleanor-park | |
2024-12-04 | added structure and upload image firefly api calls | eleanor-park | |
2024-12-04 | stuff seems to have broken... (some changes relating to doc rerendering) | Nathan-SR | |
2024-12-03 | bunch of changes related to rendering changes to template docs; trying to ↵ | Nathan-SR | |
make it so docs don't need to rerender every time, and so that all attributes are accounted for. | |||
2024-11-26 | website glitch fixed | alyssaf16 | |
2024-11-25 | bug fixes to image cropping | eleanor-park | |
2024-11-22 | switched to providing secret instead of bearer token for adobe api access | bobzel | |
2024-11-22 | fixed resamppling images uploaded from non-local source. | bobzel | |
2024-11-22 | Update FireflyManager.ts | bobzel | |
2024-11-22 | added initial Firefly endpoint and hanged smartDrawHandler to generate an ↵ | bobzel | |
image and an svg. | |||
2024-11-19 | Merge remote-tracking branch 'origin/ajs-finalagent' | bobzel | |
2024-11-14 | changed isScribble related code to be more robust at determine cusps and ↵ | bobzel | |
deciding if cusps amount to a scribble. enabled undo of scribble erase without undoing scribble. added cusp visualizer for debugging, and cleaned up downDocView to be downFfview on CollectionFreeformView. | |||
2024-11-13 | made link text use text menu. and made link text zoom with view. cleaned up ↵ | bobzel | |
equationBox updateSize() | |||
2024-11-13 | dashboard functioning | alyssaf16 | |
2024-11-13 | 4 hours later...dashboard i think working | alyssaf16 | |
2024-11-12 | don't include ink strokes in freeform clusters | bobzel | |
2024-11-12 | changed cluster coloring to apply to all Docs that don't have the current ↵ | bobzel | |
default background color. | |||
2024-11-12 | updated equationBox to support margins/padding like text. fixed initial ↵ | bobzel | |
undo of newly typed equation. | |||
2024-11-12 | fixed resizing height to 0 to autoResize. fixed setting background color ↵ | bobzel | |
default for equations (and everything else) to textBackgroundColor from user doc. Added a math pseudo-font to trigger entering equations instead of rich text. | |||
2024-11-12 | made equation background same as text. fixed dflt stroke/link width to both ↵ | bobzel | |
be 1. made function plot axis ranges get saved to Doc. marked equation->function links as being svgs. fixed initial size of equation boxes.. | |||
2024-11-12 | fixed clicking on filled closed strokes to select them.. fixed equationBox ↵ | bobzel | |
initial width. fixed line mode for ink to always create lines. fixed contextMenu to reset selectedIndex after being hidden. added reveal options for comparisonbox to contexst menu. | |||
2024-11-12 | image doc working | alyssaf16 | |
2024-11-12 | comparison box with assistant working | alyssaf16 | |
2024-11-12 | flashcards w assistant finally workgit add -A | alyssaf16 | |
2024-11-11 | changes for demo | eleanor-park | |
2024-11-08 | c | Nathan-SR | |
2024-11-08 | Displays markdown again now | A.J. Shulman | |
2024-11-08 | displays much better with citations inline | A.J. Shulman | |
2024-11-08 | looks better still some things to work out | A.J. Shulman | |
2024-11-08 | comp box | alyssaf16 | |
2024-11-08 | style provider | alyssaf16 | |
2024-11-08 | new template added | Nathan-SR | |
2024-11-08 | loading indicator in layout preview works properly | Nathan-SR | |
2024-11-08 | image generation working | Nathan-SR | |
2024-11-07 | template reset option and fixed preview not rendering on edits after 1st | Nathan-SR | |
2024-11-07 | fields set properly | Nathan-SR | |
2024-11-07 | making it work even better | A.J. Shulman | |
2024-11-07 | working to create docs but wrong doc types/not compatible with LLM | A.J. Shulman | |
2024-11-07 | trying to add a new create any doc tool | A.J. Shulman | |
2024-11-07 | GPT text generation working fully!! | Nathan-SR | |
2024-11-07 | gpt text gen working for previews | Nathan-SR | |
2024-11-07 | c | Nathan-SR | |
2024-11-07 | refactored preview updating code, hopefully user added templates should be ↵ | Nathan-SR | |
working | |||
2024-11-06 | changes | Nathan-SR | |
2024-11-06 | Enhance assistant security with structured validation and input sanitization | A.J. Shulman | |
- Prompt enhancements: - Enforce strict response structure validation by requiring <stage>, <thought>, <action>, and <answer> tags in responses. - Add self-validation instruction in <final_instruction> for assistant to check response structure before outputting. - Instruct assistant to ignore XML-like syntax from user input, treating any <stage>, <action>, etc., as plain text. - Code changes: - Implement `validateAssistantResponse` function to enforce required response structure (e.g., ensuring <stage> element). - Add input sanitization using `lodash.escape` to treat user inputs as plain text, preventing XML or HTML injection. - Configure XML parser to ignore external entities and avoid interpreting embedded XML-like syntax. - Introduce fallback error handling in parsing and validation to prevent assistant crashes on malformed or unexpected input. - Log response errors with detailed messages to aid debugging and improve system resilience. - Enhance input validation for tools by adding parameter checks, handling malformed data gracefully, and logging safety errors. |