11 Commits

Author SHA1 Message Date
Sven Olderaan
7380391424 Make character parameter required when AI character selection is enabled
- Add character to required parameters when setting is enabled
- Update documentation to clarify character is required
- Ensure handler logic provides default character if missing
- Maintain backward compatibility

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-16 16:55:41 +01:00
Sven Olderaan
c8af3ab3cb Add toggle for AI character selection parameter
- Add setting to control whether AI can choose character
- Modify function schema based on user settings
- Only expose character parameter to AI when setting is enabled
- Update test function to reflect current settings
- Provide separate documentation for each setting mode
- Default is character selection disabled, set by extension user

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-16 16:21:53 +01:00
Sven Olderaan
48610c7ba6 Update SillyBubble extension to support new image features
- Add support for character-based bubble styling
- Add support for speech and thought bubble types
- Update function schema with new parameters
- Add UI settings for character and bubble type selection
- Update examples and documentation
- Keep backward compatibility with style parameter

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-16 16:13:48 +01:00
Sven Olderaan
a907c4d073 Add HTML fallback and improve bubble rendering in collapsed tool calls
- Create image_html.php as fallback when GD not available
- Add test.html page to demonstrate different bubble styles
- Update index.js to support rendering bubbles in collapsed tool calls
- Improve example.html settings page with new options
- Add reference/ to .gitignore

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-16 12:49:14 +01:00
Sven Olderaan
4ff645abd0 Add feature to render chat bubble images in collapsed tool calls
- Intercept tool call messages in chat and render markdown images

- Add setting to toggle feature on/off

- Add proper styling for rendered images

- Handle mutation observer for new messages

- Hide rendered images when details element is opened

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-16 11:48:08 +01:00
Sven Olderaan
3826b3ce84 Fix function calling integration and add system prompt instructions
- Add multiple registration methods to ensure function availability
- Try registering at multiple times during initialization lifecycle
- Create special function object formats for different AI models
- Add detailed instructions in UI for adding necessary system prompt
- Provide alternative direct markdown format as fallback
- Add more robust error handling and diagnostics

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-14 21:26:07 +01:00
Sven Olderaan
5ccb1d3984 Fix function registration for AI visibility
- Add isPublic flag to make function visible to AI
- Add explicit context registration for better compatibility
- Add debug logs to help track registration status
- Improve documentation with SillyTavern-specific setup instructions
- Add warning styles for important setup notes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-14 20:57:19 +01:00
Sven Olderaan
c4a1e493c9 Implement SillyBubble extension for dynamic chat bubble images
- Create extension for generating dynamic chat bubble images via markdown
- Add function that AI models can call to generate properly formatted markdown links
- Implement URL encoding for text parameters
- Add configurable settings for image service URL and bubble styles
- Include test functionality to preview generated bubble markdown

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-14 20:20:30 +01:00
city-unit
b98429d414 Actually make this good. 2023-08-02 00:23:23 -04:00
city-unit
b8587e7518 Speeling 2023-08-01 23:28:02 -04:00
city-unit
5bee381ea7 Clean Start 2023-07-23 18:36:04 -04:00