Commit Graph

14 Commits

Author SHA1 Message Date
68d40d95fc feat(proto): AnswerJobResponse.agent_usage (field 5) for deferred RunAgent usage
Additive field so GetAnswerJob can return the same authoritative AgentUsage as
synchronous RunAgent for a completed deferred job. Unset for legacy
GenerateAnswer jobs. No existing field numbers or enum values changed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-07 16:37:23 +03:00
00e8f9b190 feat(proto): add RunAgent, CancelAnswerJob, Agent* messages
Extend AnswerJobState with RUNNING/CANCELLED/EXPIRED (values 5-7, backward
compatible). Add AgentRequest/AgentResponse/AgentToolLoopOptions/
AgentResponseContract/AgentUsage/AgentOutputFormat and Cancel* messages.
Existing RPCs unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-05 23:07:59 +03:00
9c923913f6 ai: add deferred-answer job API (AIResponse.status/job_id, GetAnswerJob, AIRequest.supports_deferred) 2026-08-05 00:59:30 +03:00
ccc66cd2b2 Add steam_user_id to AIRequest
Lets l-ai-steam mark inbound Steam chat requests the same way
telegram_user_id already marks Telegram ones, so l-ai-core can gate
AI tool calling on either signal.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-09 13:10:05 +03:00
1a9fd4a067 feat: add telegram_user_id to AIRequest and response style RPCs to UserSettingsService
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-07 17:09:40 +03:00
be5ac2dc40 feat: add StatelessMessage, StatelessRequest and GenerateStateless RPC 2026-05-07 13:00:55 +03:00
f91884026e feat: add global_user_id and options to AskInSessionRequest 2026-04-15 23:38:14 +03:00
d9b7efeca0 feat: add global_user_id and AnswerGenerationOptions to AIRequest
- Add global_user_id field to identify user for profile/memories lookup
- Add AnswerGenerationOptions with include_user_memories bool
- Include memories in prompt when option is enabled
2026-04-15 23:20:11 +03:00
f0926121d7 feat: add AI session management endpoints
- Add CreateSession RPC for creating new AI sessions
- Add AskInSession RPC for requests within existing sessions
- Add message types: CreateSessionRequest, CreateSessionResponse, AskInSessionRequest, SessionStatusResponse
2026-04-15 22:31:46 +03:00
Aleksander Ogurtsov
2502112076 Add_reasoning_content_field 2026-03-15 16:52:45 +03:00
Aleksander Ogurtsov
0794b967e3 Regenerate_proto_files 2026-03-15 15:27:17 +03:00
Aleksander Ogurtsov
53064088f9 Add_model_name_field_to_AIRequest 2026-03-15 14:06:48 +03:00
Aleksander Ogurtsov
13e57cce17 proto:-update-go_package-path 2026-03-13 09:47:49 +03:00
Aleksander Ogurtsov
023e27a5f8 proto: add generated gRPC Go files 2026-03-13 09:29:26 +03:00