Skip to content

Feature/growing up - #4

Merged
huwprosser merged 4 commits into
mainfrom
feature/growing-up
Jul 1, 2026
Merged

huwprosser merged 4 commits into
mainfrom
feature/growing-up

Conversation

@huwprosser

@huwprosser huwprosser commented Jun 17, 2026 •

Copy link
Copy Markdown
Owner

In this PR, Fury SDK grows up.

  • We switch back to using the OpenAI SDK as a dependency. This allows this module to focus on higher level things rather than retries, error handling etc.

  • The old HistoryManager and StaticHistoryManager are a thing of the past. HistoryManager is now just used to automatically for history to a specific context size. Storage of history is also handled downstream.

  • History compaction is now handled by a new HistoryCompactor() module that just spins up an agent with a prompt. Pass it messages and it will give you a compaction summary. You can the decide how many recent messages.

  • Memory is also a thing of the past. The examples/memory_chat.py shows why rigid memory modules make literally no sense. Plus if you're saving user-based memory in a database the old way was incompatible.

  • create_tool() has been removed. Just use the Tool type instead.

  • TODO: Introducing Async where needed.

huwprosser and others added 4 commits June 17, 2026 15:27
compaction module is separate.
memory is now just an example.
create_tool() deprecated. just use the type bro.
Surface OpenRouter/OpenAI-compatible mid-stream failures (finish_reason
"error" or an error payload on a chunk) as a new StreamError so callers
can retry or fail over, rather than ending the round as if the truncated
output were a finished response.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@huwprosser
huwprosser marked this pull request as ready for review July 1, 2026 13:17
@huwprosser
huwprosser merged commit 37b5f90 into main Jul 1, 2026
1 check passed
@huwprosser
huwprosser deleted the feature/growing-up branch July 1, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant