Commit Graph
3 Commits
Author SHA1 Message Date
marcocosta10000 237a1dfb53 feat(agent): add automatic web search and rename uploads dir to workspace
- Add WEB_SEARCH_ENABLED and WEB_SEARCH_MAX_RESULTS config options
- Detect search-intent messages via trigger keywords and inject web
  results into the AI context
- Instruct the system prompt to use web search for factual, current,
  or time-sensitive questions instead of inventing data
- Rename uploads directory from `uploadsfiles/` to `workspace/`,
  updating .gitignore and backup instructions in DEPLOY.md
2026-10-26 10:32:31 -03:00
marcocosta10000 25288d2c0f feat(voice): transcribe Telegram voice notes with SpeechRecognition
Add a voice message handler that downloads OGG audio, converts it to
WAV via pydub/ffmpeg, and transcribes it with Google Speech Recognition
(pt-BR) before feeding the text into the normal message pipeline.

Also extract shared text processing into process_text_message, guard
against updates without a text attribute, switch the default AI provider
to openrouter with deepseek-v4-flash, and document the ffmpeg system
requirement in DEPLOY.md.
2026-10-25 17:27:42 -03:00
marcocosta10000 6b3b6541a7 feat: add psagentai agent with deployment and configuration
Initial project setup including the main agent script, configuration
files, profile JSON state, systemd service unit, startup script,
deployment documentation, and Python dependencies.

Includes .env, venv/, and __pycache__/ which should likely be
excluded via .gitignore to avoid committing secrets and artifacts.
2026-10-25 17:05:13 -03:00