Skip to content

Nyagman dev new - #1

Open
hpnyaggerman wants to merge 68 commits into
mainfrom
nyagman-dev-new
Open

hpnyaggerman wants to merge 68 commits into
mainfrom
nyagman-dev-new

Conversation

@hpnyaggerman

Copy link
Copy Markdown
Owner

No description provided.

Re-split every tag section on commas and drop empty tags so a stray, trailing, or doubled comma never yields a double comma or empty segment in the positive or negative prompt.

Constrain the scene analyzer to what the history directly evidences (last datapoint) rather than inferring outfits or poses from genre convention.

Log both passes' tool-call results at INFO for debuggability.
The image backend expects tag order [quality] [subject count] [character] [series] [artist] [style] [general]. Only the leading quality block can be prepended mechanically; the artist and style slots fall between the model-owned character/series and general sections, and the model replicates given tags more reliably and less destructively than it marks a splice boundary. assemble_positive now prepends quality only, compose_instruction hands the configured artist/style tags to the model with verbatim placement instructions, and DEFAULT_GUIDELINE teaches the full order.

The config-test preview now runs the real composer pass over the neutral baseline scene instead of mechanically joining prompt pieces, so it previews the exact placement a turn would produce.
# Conflicts:
#	tests/unit/test_interactive_fragments.py
# Conflicts:
#	backend/workflows/__init__.py
# Conflicts:
#	backend/workflows/__init__.py
#	tests/unit/test_tool_registry.py
Resolve the additive conflict in tests/unit/test_interactive_fragments.py: union both sides' imports and keep both OOC-bracket regression tests. main (#106) closes the [OOC: aside in the director/editor/feedback preambles; the branch closes it in the direction-note preamble -- disjoint builders and tests, so both are kept.
Brings in permanent direction notes (#104) and Gemma 4 native tool-call parsing (#107). The image_gen workflow is file-disjoint from both; the only textual overlap is tests/unit/test_tool_registry.py, where each side adds independent cases that interleave cleanly.
Main upstreamed the inherited direction-notes feature as #104 (dab5ad2) and
added the Gemma-4 native tool-call parser (ef05ba0). The direction-notes surface
is resolved wholesale to main's #104: its upstreamed form is ahead of the dev
version this branch inherited (per-fragment director calls, the characterization
seed replacing story_direction, rewritten preambles), so no branch-side
direction-notes is kept. The prose-format workflow is untouched -- main never
references it -- and test_tool_registry keeps both sides' additive edits.
# Conflicts:
#	backend/database/migrations/0035_direction_notes.py
#	backend/database/seeds.py
#	backend/inference/prompt_builder.py
#	tests/integration/test_direction_notes.py
This reverts commit c4aeef0.

Equivalent proxy support is arriving from upstream main, which takes precedence on the integration line. Reverting the branch-side implementation now prevents a duplicate landing (including a second settings migration) when main is next merged in.
main relocated streamPost from chat_stream.js into a new sse.js module; chat_stream.js no longer re-exports it. Point the image_gen on-demand generate path at /static/sse.js so it resolves after the merge.
# Conflicts:
#	backend/inference/client.py

This branch has not been deployed

No deployments
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