Commit Graph

57 Commits

Author SHA1 Message Date
Kayvan Sylvan
e59156ac2b feat: add image file validation and format detection for image generation
## CHANGES

• Add image file path validation with extension checking
• Implement dynamic output format detection from file extensions
• Update BuildChatOptions method to return error for validation
• Add comprehensive test coverage for image file validation
• Upgrade YAML library from v2 to v3
• Update shell completions to reflect supported image formats
• Add error handling for existing file conflicts
• Support PNG, JPEG, JPG, and WEBP image formats
2025-07-04 17:56:59 -07:00
Eugen Eisler
ed77cc2320 feat: search tool working 2025-06-11 19:56:38 +02:00
Kayvan Sylvan
bf3af8e98e feat: add shell completion scripts for Zsh, Bash, and Fish
CHANGES:
- Add shell completion support for three major shells
- Create standardized completion scripts in completions/ directory
- Add --shell-complete-list flag for machine-readable output
- Update Print() methods to support plain output format
- Document installation steps for each shell in README
- Replace old fish completion script with improved version
2025-04-24 17:47:39 -07:00
Kayvan Sylvan
ac5eab0563 feat: add --listvendors command to list AI vendors
### CHANGES
- Introduce `--listvendors` flag to display all AI vendors.
- Refactor OpenAI-compatible providers into a unified configuration.
- Remove individual vendor packages for streamlined management.
- Add sorting for consistent vendor listing output.
- Update documentation to include new `--listvendors` option.
2025-04-20 08:53:20 -07:00
Harold
cd74a96be2 refactor: refactor API key middleware based on code review feedback 2025-04-01 22:47:39 +02:00
Harold
15a2eeadc9 feat: add simple optional api key management for protect routes in --serve mode 2025-04-01 01:26:53 +02:00
Kayvan Sylvan
85cc7b8a9d fix: improve error handling in ChangeDefaultModel flow and save environment file
- Add early return on setup error
- Save environment file after successful setup
- Maintain proper error propagation
2025-03-17 19:37:26 -07:00
Kayvan Sylvan
096f40df68 feat: add prompt strategies and improve installation documentation
## CHANGES

- Add prompt strategies like Chain of Thought (CoT)
- Implement strategy selection with `--strategy` flag
- Improve README with platform-specific installation instructions
- Fix web interface documentation link
- Refactor git operations with new githelper package
- Add `--liststrategies` command to view available strategies
- Support applying strategies to system prompts
- Fix YouTube configuration check
- Improve error handling in session management
2025-03-15 00:30:30 -07:00
Krzysztof Łuczak
f3a1982e30 Add the ability to grab YouTube video transcript with timestamps
This commit adds the ability to grab the transcript
of a YouTube video with timestamps. The timestamps
are formatted as HH:MM:SS and are prepended to
each line of the transcript. The feature is enabled
by the new `--transcript-with-timestamps` flag,
so it's similar to the existing `--transcript` flag.

Example future use-case:

Providing summary of a video that includes timestamps
for quick navigation to specific parts of the video.
2025-02-07 15:25:22 +01:00
Cory Sougstad
b4b8b96260 Added metadata lookup to youtube helper 2024-12-31 15:31:17 -07:00
github-actions[bot]
e858700976 Update version to v1.4.128 and commit 2024-12-26 20:07:20 +00:00
Matt Joyce
edb4490c86 Merge branch 'main' into feature/template-extensions 2024-12-24 13:12:13 +11:00
InfosecWatchman
103388ecec Add Endpoints to facilitate Ollama based chats
Add Endpoints to facilitate Ollama based chats.

Built to use with Open WebUI
2024-12-19 16:14:51 -05:00
Matt Joyce
160703210b emplemented stdout template extensions 2024-12-01 09:13:22 +11:00
John
7043f78f1f john 2024-11-26 08:40:21 2024-11-26 08:50:31 -05:00
Eugen Eisler
0bb4f58222 fix: bufio.Scanner message too long 2024-11-05 11:25:32 +01:00
Eugen Eisler
1830ae2321 feat: impl. Youtube PlayList support 2024-11-04 13:44:20 +01:00
Eugen Eisler
681f1a49a5 fix: close #1106, fix pipe reading 2024-11-04 10:48:22 +01:00
Eugen Eisler
b750171593 feat: YouTube PlayList support 2024-11-04 10:48:22 +01:00
jaredmontoya
455215290f add model context length setting 2024-10-30 15:36:01 +01:00
Eugen Eisler
e17b96d864 feat: write tools output also to output file if defined; fix XouTube transcript ' character 2024-10-30 13:50:52 +01:00
Eugen Eisler
38406ee586 feat: split tools messages from use message 2024-10-29 23:37:38 +01:00
Eugen Eisler
dff094301a feat: impl. multi-model / attachments, images 2024-10-29 21:31:02 +01:00
Eugen Eisler
61f66f88e3 feat: plugins arch., new setup procedure 2024-10-19 13:09:37 +02:00
Eugen Eisler
686d039392 Merge branch 'main' into feat/rest-api 2024-10-12 23:06:29 +03:00
Eugen Eisler
56f995afb4 feat: restructure for better reuse 2024-10-12 22:37:35 +03:00
Eugen Eisler
17bde814cc feat: restructure for better reuse 2024-10-12 22:25:17 +03:00
Eugen Eisler
6dbd24e541 fix: Close #1040. Configure vendors separately that were not configured yet 2024-10-11 23:25:33 +03:00
hallelujah-shih
e1fa674a3f support set default output language
# Conflicts:
#	cli/cli.go
#	core/fabric.go
2024-10-10 19:37:51 +08:00
Eugen Eisler
a6d63f4d0e feat: work on Rest API 2024-10-06 15:40:29 +02:00
Eugen Eisler
3380972df1 feat: work on Rest API 2024-10-06 15:29:01 +02:00
Eugen Eisler
4fb965ec9d feat: Add 'meta' role to store meta info to session, like source of input content. 2024-10-05 17:33:27 +02:00
Eugen Eisler
9452d6bd2a feat: implement print session and context 2024-10-05 00:57:11 +02:00
Eugen Eisler
3eb314320e feat: Setup for specific vendor, e.g. --setup-vendor=OpenAI 2024-10-04 22:38:43 +02:00
Eugen Eisler
42b5cb4413 feat: clean up html readability; add autm. tag creation 2024-10-03 00:12:23 +02:00
Eugen Eisler
81b4bf3756 Merge pull request #1007 from hallelujah-shih/feature/html-readability
support turn any web page into clean view content
2024-10-02 22:10:02 +02:00
Kristof Ringleff, Fooman
be37d889a0 Grab transcript from youtube matching the user's language instead of the first one 2024-10-01 14:51:32 +13:00
hallelujah-shih
cc8711cc07 support turn any web page into clean view content 2024-09-30 11:25:10 +08:00
Eugen Eisler
913210d2a9 chore: supress printing YouTube transcripts/comments and grabed Web Sites if a pattern is defined 2024-09-29 19:33:09 +02:00
Eugen Eisler
c5db39a06d feat: extend installation instruction to get the latest release binaries 2024-09-27 11:50:47 +02:00
shih
dd6cd06b5a add wipe flag for ctx and session 2024-09-27 07:43:08 +08:00
Eugen Eisler
ea323c12ff fix: #986 implement --version flag 2024-09-26 20:57:37 +02:00
Eugen Eisler
d2e2a6537e feat: improve Jina AI impl. 2024-09-16 22:06:32 +02:00
Eugen Eisler
a6fc13dbdc Merge pull request #861 from noamsiegel/scrape_url
Scrape url
2024-09-16 21:37:10 +02:00
Eugen Eisler
25377ebd48 feat: improve Youttube support. Print transcript and/or comments. Don't send them to AI if pattern is not defined. 2024-09-12 18:25:20 +02:00
Noam Siegel
6f116ca527 feat: Add Jina AI integration for web scraping and question search 2024-09-09 21:22:19 -07:00
Noam Siegel
bac7d87390 Merge branch 'main' into scrape_url 2024-09-09 09:47:19 -07:00
Azwar Tamim
feabd565dc Refactor dry run to DryRun Vendor 2024-09-01 13:44:56 +07:00
Azwar Tamim
7d3bf8c3a2 Fix dry run 2024-08-29 15:46:48 +07:00
Azwar Tamim
4006f3f417 Add dry run 2024-08-28 21:50:06 +07:00