Commit Graph

44 Commits

Author SHA1 Message Date
ajaysi
64f1f88cdd feat: image generation overhaul (model-aware text, dim clamping, \.30 pricing), event-driven dashboard cache invalidation, SEO insights (AI visibility, GSC, keyword gap), YouTube OAuth/publish, blog writer & content planning improvements, scheduler monitoring updates 2026-05-30 07:58:22 +05:30
ajaysi
928c2f20aa fix: WYSIWYG editor, content generation, and writing assistant bug fixes
- Fix text selection menu not showing: wire contentRef via inputRef on multiline TextField
- Fix blog title not truncating: add min-w-0 for flex item overflow
- Fix outline generation 500: escape curly braces in f-string prompt template
- Fix content generation 'NoneType not callable': replace SessionLocal() with get_session_for_user(), add db param to MediumBlogGenerator, fix signature mismatch in database_task_manager
- Fix writing assistant suggest 500: add auth + user_id to API endpoint and service, replace sync requests with httpx.AsyncClient
- Fix hallucination detector 404: explicitly include router in main.py and app.py
- Fix missing error_data in task failure responses
- Hide CopilotKit web inspector button
- Remove hardcoded fallback suggestions from SmartTypingAssist
- Fix stale closure refs in SmartTypingAssist handleTypingChange
- Add two-column editor layout, stats bar, section hover menu
- Various subscription, billing, and research module improvements
2026-05-14 09:11:51 +05:30
ي
79f26c815b feat: add static triage and structural reader with tests 2026-04-10 21:03:39 +05:30
ي
e2726805f3 test: add VFS regression tests for retrieval and collaboration 2026-04-08 18:20:07 +05:30
ajaysi
a26fa84263 Extract useful LLM provider improvements from PRs #423-#429
huggingface_provider.py:
- Add retry logic with _should_retry_hf_error and _is_non_retryable_hf_error
- Update default models from :groq to :cerebras (HF_FALLBACK_MODELS)
- Add fallback_models parameter to huggingface_text_response
- Add get_available_models with updated model list

main_text_generation.py:
- Add GPT_PROVIDER and TEXTGEN_AI_MODELS env var support
- Add preferred_provider and flow_type parameters to llm_text_gen
- Add HF_MODEL_MAPPING for short model name resolution
- Add flow_type logging tag for better observability

sif_agents.py:
- Add LOW_COST_SHARED_REMOTE_MODELS for SIF agents
- Update SharedLLMWrapper to use preferred_hf_models and flow_type

These changes preserve the modular textgen_utils structure while incorporating
the useful routing and retry logic improvements from the pending PRs.
2026-03-22 11:16:48 +05:30
ajaysi
d557bd4918 Fix merge conflicts and resolve circular import issues
- Resolve conflict markers in logging_config.py, main.py, app.py
- Fix circular imports in story_writer services (image/audio/video generation)
  by using lazy imports for get_story_media_write_dir
- Restore clean versions of:
  - sif_agents.py
  - tenant_provider_config.py
  - personalization_service.py
  - huggingface_provider.py
  - main_text_generation.py
  - logger_utils.py
- Use setup_clean_logging() consistently across app.py and main.py
- Restore verbose_mode handling in start_alwrity_backend.py
2026-03-22 10:45:05 +05:30
ajaysi
acf526e7e1 Merge_PR_418_refine_hf_fallback_policy_and_sif_low_cost_routing 2026-03-12 16:19:19 +05:30
ajaysi
901470eb8b Merge_PR_408_flat_context_and_txtai_file_tools 2026-03-12 15:29:08 +05:30
ي
bf191374a5 Refine HF fallback policy controls and SIF low-cost routing 2026-03-12 15:03:47 +05:30
ajaysi
01881bb405 "feat:enhance-podcast-topic-ai" 2026-03-11 19:09:27 +05:30
ي
cbe41ef8c7 Add Step 5 flat context and txtai file tools for agents 2026-03-11 10:42:05 +05:30
ajaysi
f78b5f1e04 Resolve_txtai_service_conflict_after_PR_406_merge 2026-03-10 16:55:42 +05:30
ي
7e4adce55f Make SIF agent workflows non-blocking and guard SSE hangs 2026-03-10 14:04:26 +05:30
ي
bc49329ed6 Make SIF fail fast and add low-cost remote LLM fallback 2026-03-09 18:57:11 +05:30
ي
4230385e70 Make SIF fail fast and add low-cost remote LLM fallback 2026-03-09 16:26:20 +05:30
ajaysi
098424f696 fix: Make TxtaiIntelligenceService initialization non-blocking
- Modified _ensure_initialized() to run in background thread (non-blocking)
- Added _ensure_initialized_async() for truly async initialization
- Updated index_content() to return immediately without waiting for initialization
- Weights now load in background thread instead of blocking event loop
- Added initialization tracking to prevent duplicate initialization
- Modified today_workflow API to handle non-blocking indexing gracefully
- This prevents dashboard refresh from blocking other services

When a user accesses the dashboard, the indexing now happens in background
instead of blocking the HTTP response, allowing other services to function
normally while weights are being loaded.
2026-03-09 16:25:56 +05:30
ي
952824a271 Stabilize txtai nprobe handling without dropping loaded index state 2026-03-09 12:27:16 +05:30
ي
cd8582eb8c Fix txtai nprobe fallback to avoid reloading incompatible faiss index 2026-03-09 12:21:43 +05:30
ي
15a9eaa9a0 Add committee health precheck and orchestrator init state metadata 2026-03-06 21:40:03 +05:30
ajaysi
110f7318cc chore: Update backend services, intelligence integration, and documentation 2026-03-05 22:14:25 +05:30
ajaysi
45fb9636e2 Update Render build configuration: fix deps, force py3.11, add build script 2026-03-04 09:17:35 +05:30
ajaysi
460e1f398d Merge PR #364: Add competitor-aware originality checks and fix agent initialization 2026-03-03 18:57:46 +05:30
ajaysi
2fbda8f803 Merge PR #369: Standardize agent activity events and update timeline UI 2026-03-03 18:25:05 +05:30
ajaysi
1e95198ec9 Fix: Type errors and linter warnings 2026-03-03 18:20:48 +05:30
ajaysi
6c7871bedd Fix: Agent orchestrator initialization, singleton LLM loading, and dashboard activity logging 2026-03-03 17:22:50 +05:30
ي
a7bf355703 Standardize agent event payloads and team activity timeline UI 2026-03-02 22:01:12 +05:30
ي
60e6cbd34b Harden SIF release readiness gaps and add regression checks 2026-03-02 20:59:07 +05:30
ajaysi
0f97d54318 Merge branch 'review/pr-363' 2026-03-02 11:46:02 +05:30
ي
cd9ffb5ef5 Implement evidence-based semantic gap detection for strategy agents 2026-03-02 11:42:52 +05:30
ajaysi
d4cdd89fbf Merge branch 'review/pr-362' 2026-03-02 11:38:58 +05:30
ي
6273d1de60 Unify semantic health response schema 2026-03-02 11:36:05 +05:30
ajaysi
673f6a22e1 Merge branch 'review/pr-361' 2026-03-02 11:34:04 +05:30
ي
9d34753d0f Add structured warning logs for memory and semantic fallback paths 2026-03-02 10:51:45 +05:30
ajaysi
07a4d86d61 Merge PR #360 and resolve conflict in today_workflow_service.py 2026-03-02 10:27:46 +05:30
ي
83f1edcd12 Add strategy architect agent to daily planning committee 2026-03-02 10:25:01 +05:30
ajaysi
677c65fe72 Merge branch 'review/pr-359' 2026-03-01 23:16:05 +05:30
ajaysi
212538c406 Add note about competitor indices validation in gap analysis 2026-03-01 23:08:30 +05:30
ي
036bbb45e1 Add strategy agent to daily planning committee 2026-03-01 21:59:12 +05:30
ي
77088bfc53 Implement evidence-driven semantic gap detection 2026-03-01 21:58:44 +05:30
ajaysi
f8f7ddeb2a feat: Implement Today's Workflow and Agent Huddle enhancements 2026-03-01 20:15:31 +05:30
ajaysi
4828274cbf Release Candidate: Production Release with Multi-Tenant & Onboarding Enhancements 2026-02-28 20:08:00 +05:30
ajaysi
08a1f4a1d8 Save local changes (GSC/Bing integrations) before merging PR #354 2026-02-13 13:11:27 +05:30
ajaysi
43e66835ac Recovered critical missing components: PerformanceMonitor, MarketSignalDetector, and SemanticDashboard 2026-02-08 14:06:09 +05:30
ajaysi
e404a86502 Recovered state: integrated TrendSurferAgent, restored frontend/backend files, and cleaned up recovery scripts 2026-02-08 13:56:57 +05:30