mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-14 00:01:03 +00:00
7a40225852
A ChatGPT sign-in only ever ran the assistant: parsing's clients call an endpoint with a key, and a plan has none. AI connections now lends the plan as a reader. Each document is one Responses call with the schema as the one tool the model has to call (tool_choice required). The token is read and refreshed per call by ChatgptAuthService, and a sign-in that has to be renewed lends nothing. - ResolvedLlmConfig is a union: ApiLlmConfig (what an admin configures) or PlanLlmConfig (provider chatgpt, a read function, never stored). - ConnectionReadClient sends the text plus photo or scanned pages, and reads the filled shape, or the shape written as text; prose is unreadable. - AiChatClientService.chatgptPlan is the one place that builds the plan's client, for the assistant and for parsing. - Wiki: a ChatGPT sign-in reads bookings on its plan.