-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat: Capabilities support in GPT4 #12
base: main
Are you sure you want to change the base?
Conversation
@@ -1,3 +1,3 @@ | |||
steamship==2.17.22 | |||
steamship @ git+https://github.com/steamship-core/python-client@george/agents-refactor |
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.
Needs to be swapped for published version
@@ -170,8 +233,9 @@ def prepare_message(self, block: Block) -> Optional[Dict[str, str]]: | |||
|
|||
return {"role": role, "content": block.text} | |||
|
|||
def prepare_messages(self, blocks: List[Block]) -> List[Dict[str, str]]: | |||
def prepare_messages(self, blocks: List[Block], ) -> List[Dict[str, str]]: |
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.
Note to self: Yank this dangling comma (weird that black didn't do it)
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.
Looks good to me! (pending merge with main of course)
) | ||
if capability_response: | ||
# TODO append to file? |
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.
The plugin itself doesn't have to write anything to Files. Where the blocks are saved is mediated by the engine.
Modify gpt4 plugin to support reading capabilities.
Notable mentions:
This is the first plugin to really use the metadata on capabilities, so as a bit of a tour guide: