Skip to content

simplify prompt template imports#65

Merged
filchy merged 1 commit intomasterfrom
ref/simplify-imports
Jan 28, 2026
Merged

simplify prompt template imports#65
filchy merged 1 commit intomasterfrom
ref/simplify-imports

Conversation

@filchy
Copy link
Owner

@filchy filchy commented Jan 28, 2026

This follows the same pattern used for agents, allowing users to import with:
from tinygent.prompts import ReActPromptTemplate,
get_prompt_template
from tinygent.prompts.react import get_prompt_template

Instead of:
from tinygent.core.prompts.agents.template.react_agent import
ReActPromptTemplate
from tinygent.core.prompts.agents.factory.react_agent import
get_prompt_template

This follows the same pattern used for agents, allowing users to import
with:
    from tinygent.prompts import ReActPromptTemplate,
get_prompt_template
    from tinygent.prompts.react import get_prompt_template

  Instead of:
    from tinygent.core.prompts.agents.template.react_agent import
ReActPromptTemplate
    from tinygent.core.prompts.agents.factory.react_agent import
get_prompt_template
@filchy filchy merged commit 297afe0 into master Jan 28, 2026
2 checks passed
@filchy filchy deleted the ref/simplify-imports branch January 28, 2026 19:16
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