Skip to content

300 argos companion in other pages - #310

Merged
warlock20 merged 18 commits into
mainfrom
300-argos-companion-in-other-pages
Jul 30, 2026
Merged

300 argos companion in other pages#310
warlock20 merged 18 commits into
mainfrom
300-argos-companion-in-other-pages

Conversation

@warlock20

Copy link
Copy Markdown
Owner

Close #300

warlock20 added 10 commits July 25, 2026 11:16
- Removed inline JavaScript from the companion widget template and extracted it to a new companion.js file for better maintainability.
- Created a new global companion widget that can be included in any page by setting companion_enabled and companion_focus variables.
- Added a tool-calling mechanism to the AI service, allowing models to interact with tools during conversations.
- Introduced a neutral contract for tool-calling with new data classes: ToolSpec, ToolCall, ToolResult, and others.
- Implemented support for tool-calling in the Gemini provider, enabling it to handle tool requests and responses.
- Added unit tests for the companion widget markup, tool-calling types, and the agentic loop to ensure functionality and correctness.
- Removed inline JavaScript from the companion widget template and extracted it to a new companion.js file for better maintainability.
- Created a new global companion widget that can be included in any page by setting companion_enabled and companion_focus variables.
- Added a tool-calling mechanism to the AI service, allowing models to interact with tools during conversations.
- Introduced a neutral contract for tool-calling with new data classes: ToolSpec, ToolCall, ToolResult, and others.
- Implemented support for tool-calling in the Gemini provider, enabling it to handle tool requests and responses.
- Added unit tests for the companion widget markup, tool-calling types, and the agentic loop to ensure functionality and correctness.
@warlock20 warlock20 linked an issue Jul 25, 2026 that may be closed by this pull request
- Added DOMPurify library to sanitize HTML output from markdown.
- Updated base template to load marked and DOMPurify scripts before the companion widget.
- Implemented unit tests to ensure markdown libraries are loaded correctly and validate rendering of markdown answers.
@warlock20
warlock20 marked this pull request as ready for review July 30, 2026 16:14
@warlock20
warlock20 merged commit 3b13b0d into main Jul 30, 2026
2 checks passed
@warlock20
warlock20 deleted the 300-argos-companion-in-other-pages branch July 30, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Argos Companion in other pages

1 participant