Skip to content

Conversation

@guicho271828
Copy link
Contributor

No description provided.

@mergify
Copy link

mergify bot commented Nov 5, 2025

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert|release)(?:\(.+\))?:

@guicho271828 guicho271828 force-pushed the powerups branch 2 times, most recently from e3a996d to 98703d1 Compare November 5, 2025 20:22
Copy link
Contributor

@jakelorocco jakelorocco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if these are just issues with my type-hinter / the default one in VSCode.

It may not be possible to dynamically create these methods while retaining basic intellisense and type hinting.

Comment on lines +38 to +44
DOCS = {
# from `act`
"action": "the Component from which to generate.",
"context": "the context being used as a history from which to generate the response.",
"backend": "the backend used to generate the response.",
# "requirements": "used as additional requirements when a sampling strategy is provided.",
"strategy": "a SamplingStrategy that describes the strategy for validating and repairing/retrying for the instruct-validate-repair pattern. None means that no particular sampling strategy is used.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even though it's repetitive, I would prefer leaving the docstrings as a part of each function:

  • it's easier to see what's going on when you look at the function
  • the docstrings don't appear in my function preview:
image - I'm not sure how this interacts with our docs page tooling (or future versions of it)

Comment on lines +307 to +319
MelleaSession.register(mfuncs.act)
MelleaSession.register(mfuncs.instruct)
MelleaSession.register(mfuncs.chat)
MelleaSession.register(mfuncs.validate, set_context=False)
MelleaSession.register(mfuncs.query)
MelleaSession.register(mfuncs.transform)

MelleaSession.register(mfuncs.aact)
MelleaSession.register(mfuncs.ainstruct)
MelleaSession.register(mfuncs.achat)
MelleaSession.register(mfuncs.avalidate, set_context=False)
MelleaSession.register(mfuncs.aquery)
MelleaSession.register(mfuncs.atransform)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bricks all type-hinting / intellisense for me in VSCode. I don't even see m.instruct or m.<>.

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.

2 participants