Add setup scripts and prepare LLM refactor backlog#10
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting
| if annotation is datetime: | ||
| if isinstance(value, datetime): | ||
| return value | ||
| return datetime.fromisoformat(str(value)) |
There was a problem hiding this comment.
Parse UTC timestamps ending with “Z” in pydantic fallback
The fallback BaseModel converts datetime fields with datetime.fromisoformat. Unlike real Pydantic, datetime.fromisoformat raises ValueError for common ISO-8601 strings that use a trailing Z (e.g. 2025-01-01T12:00:00Z). When the project runs in environments without pydantic—the exact scenario this module targets—ingesting a Memory or Triplet containing a reference_time formatted with Z will now crash during construction instead of coercing to UTC. Consider normalizing Z to +00:00 (or using fromisoformat(value.replace('Z', '+00:00'))) before parsing so the compatibility layer accepts the same inputs as Pydantic.
Useful? React with 👍 / 👎.
Summary
Testing
https://chatgpt.com/codex/tasks/task_b_68ee1c9ee92c83218cbbebce8b0667b8