Commit Graph

4 Commits

Author SHA1 Message Date
455fc3556f refactor: add VeniceChat namespace for helper functions
- Added VeniceChat class with get_api_key, truncate, format_error static methods
- Prevents Open WebUI framework method name collision issues
- All tool methods now use VeniceChat.get_api_key() pattern
- Version bump to 1.4.0
2026-01-15 11:37:14 +00:00
0464abaa32 Update venice/chat.py 2026-01-15 00:55:02 +00:00
4ae3486b89 fix: align venice/chat.py with gitea/dev.py patterns
- Fixed _get_api_key() to accept __user__ parameter for UserValves access
- Added __request__ parameter support in __init__ for framework injection
- Added _format_error() helper for consistent error handling
- Set self.citation = True for tool usage visibility
- Updated response formatting to use markdown headers consistently
- Added __user__ parameter to _get_traits and _get_available_models
- Improved error messages to be more informative
2026-01-15 00:35:50 +00:00
54e60b6fa4 Add venice/chat.py 2026-01-14 10:24:40 +00:00