mirror of
https://github.com/openai/codex.git
synced 2026-04-26 15:45:02 +00:00
Leverage state DB metadata for thread summaries (#10621)
Summary: - read conversation summaries and cwd info from the state DB when possible so we no longer rely on rollout files for metadata and avoid extra I/O - persist CLI version in thread metadata, surface it through summary builders, and add the necessary DB migration hooks - simplify thread listing by using enriched state DB data directly rather than reading rollout heads Testing: - Not run (not requested)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
ALTER TABLE threads ADD COLUMN first_user_message TEXT NOT NULL DEFAULT '';
|
||||
|
||||
UPDATE threads
|
||||
SET first_user_message = title
|
||||
WHERE first_user_message = '' AND has_user_event = 1 AND title <> '';
|
||||
Reference in New Issue
Block a user