-
Notifications
You must be signed in to change notification settings - Fork 1
Pass instructions and requires_tools to /models #66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass instructions and requires_tools to /models #66
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also add the function to the _AgentBase
protocol for typing ? (sorry it was not there before)
Thanks for the review. I'll adjust tomorrow |
…ructions-and-requires_tools-to
Co-authored-by: guillaq <[email protected]>
@@ -150,6 +150,9 @@ async def fetch_completions(self) -> list[Completion]: | |||
|
|||
|
|||
class _AgentBase(Protocol, Generic[AgentOutput]): | |||
# TODO: fix circular dep | |||
from workflowai.core.client._models import ModelInfo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@guillaq I can rollback the _AgentBase too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah that sucks, it breaks the layering I guess since the domain is not meant to import the client.
Yeah let's rollback. Sorry I didn't think about it !
@@ -150,6 +150,9 @@ async def fetch_completions(self) -> list[Completion]: | |||
|
|||
|
|||
class _AgentBase(Protocol, Generic[AgentOutput]): | |||
# TODO: fix circular dep | |||
from workflowai.core.client._models import ModelInfo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah that sucks, it breaks the layering I guess since the domain is not meant to import the client.
Yeah let's rollback. Sorry I didn't think about it !
Ah never mind. Let's merge now and we will fix later. |
Closes https://linear.app/workflowai/issue/WOR-3802/have-list-models-pass-the-instructions-and-requires-tools-to-the-api