← Về thư mục
openai4s/server/titles.py
- SessionTitleStore · class · L10-L15 — class SessionTitleStore(Protocol)
- get_frame · method · L13-L13 — def get_frame(self, frame_id: str) -> dict | None
- update_frame · method · L15-L15 — def update_frame(self, frame_id: str, **fields: Any) -> None
- SessionTitleService · class · L25-L152 — class SessionTitleService
- init · method · L28-L41 — def init( self, *, store: SessionTitleStore | StoreProvider, broadcast: Broadcast, chat_call: ChatCall | None = None, thread_factory: ThreadFactory | None = None, summarize_call: SummarizeCall | None = None, ) -> None
- _store · method · L43-L45 — def _store(self) -> SessionTitleStore
- _chat · method · L47-L54 — def _chat(self, messages: list[dict], llm_cfg, **kwargs) -> dict
- summarize · method · L56-L113 — def summarize(self, user_text: str, llm_cfg) -> str | None
- spawn · method · L115-L152 — def spawn( self, root_frame_id: str, user_text: str, llm_cfg, placeholder: str, ) -> None
- target · function · L124-L145 — def target() -> None