提交

提交图

  • 639c2b1309 0.31a0.dev0 release Simon Willison 2026-04-22 10:16:31 -07:00
  • de63d8b69e Fixes for ruff Simon Willison 2026-04-22 10:13:39 -07:00
  • 38cf65adb1 Remove unneccassry exception catch Simon Willison 2026-04-22 10:10:45 -07:00
  • 5a92cdfc6e Improved some comments Simon Willison 2026-04-22 08:55:38 -07:00
  • 211e678e07 Cleaned up tests and comments Simon Willison 2026-04-22 08:43:33 -07:00
  • d11b9a01c5 More documentation tweaks Simon Willison 2026-04-22 08:34:12 -07:00
  • 00e428896f Ran cog github-actions[bot] 2026-04-22 04:54:40 +00:00
  • 8c48dccc94 docs: advanced-model-plugins.md covers StreamEvent / prompt.messages / provider_metadata Simon Willison 2026-04-21 21:43:42 -07:00
  • afc41b0c47 mypy fixes Simon Willison 2026-04-21 21:37:04 -07:00
  • 92f9359ba3 Documentation improvements Simon Willison 2026-04-21 21:24:50 -07:00
  • 65b8e37c79 Ran Black Simon Willison 2026-04-21 21:10:13 -07:00
  • d4f3f242ce Unwrap wrapped text in docs Simon Willison 2026-04-21 20:17:39 -07:00
  • 5648895125 Remove accidentally committed build/ directory and gitignore it Simon Willison 2026-04-21 19:58:39 -07:00
  • 1c317ab3fe Ran cog github-actions[bot] 2026-04-22 00:08:41 +00:00
  • 3df8e4426b Chain tool-result turns now carry system + system_fragments forward Simon Willison 2026-04-21 15:55:21 -07:00
  • bb5daaf6d8 Add messages= parameter to chain() (sync + async, Conversation + Model) Simon Willison 2026-04-21 15:15:39 -07:00
  • 253fed259b Add llm/serialization.py — TypedDicts for the wire form Simon Willison 2026-04-21 10:20:29 -07:00
  • 82b844d7dd Async parity: pin sync/async equivalence for all Phase 1-7 APIs Simon Willison 2026-04-21 09:06:14 -07:00
  • c975d4ce7f Fix llm -c regression: rehydrated response.messages preserves text+tools Simon Willison 2026-04-21 08:37:49 -07:00
  • 206197d395 Phase 7 follow-up: ChainResponse pre-bakes tool-result chain Simon Willison 2026-04-21 08:22:09 -07:00
  • 63cdf94fbe Phase 7: to_dict/from_dict/reply + full-chain invariant Simon Willison 2026-04-21 08:17:31 -07:00
  • 063564d34d Phase 6: client-side serialization round-trip test + docs Simon Willison 2026-04-20 09:45:50 -07:00
  • c629c133b7 Phase 5: CLI reasoning display Simon Willison 2026-04-20 09:44:17 -07:00
  • 9f0d72ac03 Phase 4c: OpenAI reasoning token count → redacted ReasoningPart Simon Willison 2026-04-20 09:40:28 -07:00
  • 8ae9644016 Phase 4b: OpenAI execute() yields StreamEvent objects Simon Willison 2026-04-20 09:39:00 -07:00
  • 94837936df Phase 4a: OpenAI build_messages reads prompt.messages Simon Willison 2026-04-20 09:36:23 -07:00
  • 476d5ef989 Phase 3: messages= parameter and Prompt.messages synthesis Simon Willison 2026-04-20 09:33:52 -07:00
  • fc7fb28f88 Phase 2: Response streaming scaffolding (stream_events, messages) Simon Willison 2026-04-20 09:31:30 -07:00
  • 3da80543fe Phase 1: Part + Message value types Simon Willison 2026-04-20 09:27:32 -07:00
  • 05c55737ff Useful SQL queries for trying out the DAG dag Simon Willison 2026-04-15 15:08:24 -07:00
  • 29fa823146 response-reply-chain.md plan Simon Willison 2026-04-15 15:07:53 -07:00
  • 8e5ebfc842 Use dag.db as default database Simon Willison 2026-04-15 15:07:35 -07:00
  • 527f84fd5d DAG phase 6: llm logs surfaces DAG head pointers via calls join Simon Willison 2026-04-14 08:34:35 -07:00
  • 51157044d0 DAG phase 5: docs — storage model note + implementation status Simon Willison 2026-04-14 08:30:01 -07:00
  • 94cde01b30 DAG phase 4: fork Simon Willison 2026-04-14 08:27:38 -07:00
  • 1985f98401 DAG phase 3: continuation dedup + Conversation.head_message_id Simon Willison 2026-04-14 08:26:13 -07:00
  • ee08b572c8 DAG phase 2: schema replacement + MessageStore Simon Willison 2026-04-14 08:23:31 -07:00
  • 3bf5606b5a DAG phase 1: canonical message serialization + content hash Simon Willison 2026-04-14 08:12:45 -07:00
  • 27ae328ea0 Plugin Upgrade Guide: StreamEvent and Messages Simon Willison 2026-04-14 07:51:58 -07:00
  • 03fa2aad18 Use ULIDs for message IDs Simon Willison 2026-04-14 07:51:17 -07:00
  • 82b1f4c17a Docs: rewrite parts/messages section around messages= API Simon Willison 2026-04-12 21:50:46 -07:00
  • d6e810226a Remove role attribute from Part classes Simon Willison 2026-04-12 21:48:25 -07:00
  • d34449a503 DB: new messages + message_parts schema Simon Willison 2026-04-12 21:40:00 -07:00
  • 9c4ac33b73 Remove parts=[] parameter and response.parts property Simon Willison 2026-04-12 21:35:20 -07:00
  • aae4eedf16 OpenAI: reconstruct conversation input history via prev.prompt.messages Simon Willison 2026-04-12 21:20:57 -07:00
  • 6f961653ef Add Response.messages (additive) Simon Willison 2026-04-12 21:16:10 -07:00
  • a6a25b26e5 Make Prompt.messages authoritative, OpenAI adapter reads only messages Simon Willison 2026-04-12 21:13:42 -07:00
  • d833616276 Add messages=[...] parameter to model.prompt() Simon Willison 2026-04-12 21:10:28 -07:00
  • f4e955705f Add Message class and role helpers (user/assistant/system/tool_message) Simon Willison 2026-04-12 21:07:12 -07:00
  • 5217a0bace Parts: serialization round-trip, stream safety, provider_metadata Simon Willison 2026-04-12 20:59:21 -07:00
  • f773ab2fa4 Formatting and type annotation fixes Simon Willison 2026-04-12 17:31:21 -07:00
  • f308149dee Fix some ruff linter warnings Simon Willison 2026-04-12 17:21:04 -07:00
  • 7c0a192341 Reformatted with Black parts Simon Willison 2026-04-12 17:18:37 -07:00
  • 1280082b6d Rename prompt.input_parts to prompt.parts Simon Willison 2026-04-12 17:17:42 -07:00
  • 1610030020 Default OpenAI plugin now handles .prompt(parts=[...]) Simon Willison 2026-04-07 12:18:51 -07:00
  • 1bfb96d60b Ignore *.db (temporary test databases) Simon Willison 2026-04-07 09:11:44 -07:00
  • 226d73d805 Only package llm and llm.* Simon Willison 2026-04-06 14:13:19 -07:00
  • 9a44bb29c6 Add option 8 (short names in llm.parts) to sugar ideas, update recommendation Simon Willison 2026-04-06 08:19:52 -07:00
  • 4a2d4bc31f Add syntactic sugar ideas for parts=[] API Simon Willison 2026-04-06 08:15:27 -07:00
  • 1df6dc5a26 Document parts, stream_events, and parts= parameter in Python API docs Simon Willison 2026-04-06 07:15:17 -07:00
  • ed223991cf Update plugin upgrade guide with lessons from llm-mistral conversion Simon Willison 2026-04-05 09:06:02 -07:00
  • 2949373d50 Add generic plugin upgrade guide for StreamEvent/parts support Simon Willison 2026-04-05 08:55:16 -07:00
  • 3be4505317 Add TODO about spurious space TextPart from Anthropic tool workaround Simon Willison 2026-04-05 08:07:02 -07:00
  • 018217d624 Add newline at reasoning-to-text transition, extract display helper Simon Willison 2026-04-05 07:59:54 -07:00
  • 05f5ed3943 CLI displays reasoning on stderr, adds -R/-S/-L shortcuts Simon Willison 2026-04-05 07:53:25 -07:00
  • 2c3d966262 Final implementation notes for all 5 phases Simon Willison 2026-04-05 07:42:49 -07:00
  • 0205bec5d1 Database migration and persistence for parts (Phase 5) Simon Willison 2026-04-05 07:42:26 -07:00
  • 5194bb766f Add parts= parameter and input_parts property (Phase 4) Simon Willison 2026-04-05 07:38:45 -07:00
  • fe4243710b Update implementation notes with Phase 3 observations Simon Willison 2026-04-05 07:35:32 -07:00
  • 0367001d18 OpenAI plugin emits StreamEvent objects (Phase 3) Simon Willison 2026-04-05 07:24:40 -07:00
  • 9e0c213ba4 Add implementation notes from Phase 1 and Phase 2 Simon Willison 2026-04-04 23:24:42 -07:00
  • a8e7b63604 Teach Response to handle StreamEvent from plugins (Phase 2) Simon Willison 2026-04-04 23:23:22 -07:00
  • c774a22ab9 Export Part types and StreamEvent from llm package Simon Willison 2026-04-04 23:20:10 -07:00
  • 350469f266 Add stream_events() and parts property to Response/AsyncResponse Simon Willison 2026-04-04 23:18:57 -07:00
  • af1311de23 Part types and StreamEvent dataclasses with serialization Simon Willison 2026-04-04 23:17:34 -07:00
  • 8f98ff725e Plan by Claude Code Simon Willison 2026-04-04 23:08:36 -07:00
  • ad4f83c794 Ignore the research directory Simon Willison 2026-04-04 09:44:02 -07:00
  • 10703b7e03 Initial overview for LLM plans project Simon Willison 2026-04-04 09:41:26 -07:00
  • cad03fb4f4 Register async models for extra-openai-models.yaml, closes #1395 Simon Willison 2026-04-04 07:06:46 -07:00
  • f2c7a2a807 Link to #1389 from changelog Simon Willison 2026-03-31 13:45:24 -07:00
  • 7169fe9085 Add Usage to llm/__init__ __all__ (to fix Ruff) 0.30 Simon Willison 2026-03-31 13:33:56 -07:00
  • 62b8864fda Release 0.30 Simon Willison 2026-03-31 13:32:04 -07:00
  • 946e433698 More docstrings and autoclass embeds in docs Simon Willison 2026-03-31 13:12:18 -07:00
  • 1562a8f444 Added some more autoclass docs, with new doctrings Simon Willison 2026-03-31 12:54:00 -07:00
  • 49d4e54639 register_models() model_aliases parameter Simon Willison 2026-03-31 12:45:38 -07:00
  • 40f7b8f2fa Ran cog Simon Willison 2026-03-31 11:53:15 -07:00
  • c7cf7e506e Changelog for 0.29 0.29 Simon Willison 2026-03-17 12:23:43 -07:00
  • b8cb53a2a1 Release 0.29 Simon Willison 2026-03-17 12:19:13 -07:00
  • c8889e0a76 Ran black Simon Willison 2026-03-17 11:25:12 -07:00
  • 07dccc00ef GPT-5.4, 5.4-mini, 5.4-nano Simon Willison 2026-03-17 11:23:28 -07:00
  • 683ca204b2 Ensure -x/--xl work with -t Simon Willison 2026-03-17 11:22:34 -07:00
  • 28826d2cf8 Ran cog claude/add-gpt-model-versions-cBKtB github-actions[bot] 2026-03-06 00:57:52 +00:00
  • 947feaa0c9 Add gpt-5.4 and gpt-5.4-2026-03-05 model support Claude 2026-03-06 00:42:46 +00:00
  • 1ba0933bce Merge remote-tracking branch 'origin/claude/integrate-openai-responses-wrBhM' into claude/test-responses-branch-G3tax claude/test-responses-branch-G3tax Claude 2026-02-07 00:13:24 +00:00
  • 6b84a0d36b Only do model_aluases=get_model_aliases() if needed by --save Simon Willison 2026-01-19 13:19:57 -08:00
  • 7e362bea8c Pass tool results back to the model claude/openresponses-http-client-aEJR4 Simon Willison 2026-01-15 17:43:57 -08:00
  • f2099c41f8 Make supports_schema and supports_tools constructor arguments Claude 2026-01-15 21:00:24 +00:00
  • f7afd05112 Clean up responses.py: fix mypy errors, remove banner headings Claude 2026-01-15 19:31:13 +00:00
  • 969fc03f5f Add OpenResponses API client implementation Claude 2026-01-15 19:05:39 +00:00
  • dfa275d18b Fix Sphinx markdown builder warnings for admonitions claude/fix-docs-warnings-xwxmW Claude 2025-12-31 20:25:10 +00:00