Skip to content
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

🥷 Extract tasks from messages in autonomous agent #846

Merged
merged 21 commits into from
Jun 21, 2023
Merged

Conversation

asim-shrestha
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Jun 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agent-gpt ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2023 11:03pm
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 21, 2023 11:03pm

@vercel vercel bot temporarily deployed to Preview – docs June 21, 2023 23:02 Inactive
import { GPT_35_TURBO_16K, GPT_4 } from "../../types";
import React from "react";

export const ChatWindowTitle = ({ model }: { model: GPTModelNames }) => {
Copy link
Member

Choose a reason for hiding this comment

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

This could be cleaner in the future, maybe a dict of models to spans?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will add a ticket

@@ -11,21 +11,27 @@ export interface AgentRunModel {

getRemainingTasks(): Task[];

getCurrentTask(): Task | undefined;

Copy link
Member

Choose a reason for hiding this comment

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

not sure why there are new lines here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Formatter just doing this, not sure

Comment on lines +32 to +42

/*
* Ideal message type
* {
* icon: IconType,
* title: string,
* subtitle: string, // Optional
* value: string, // Markdown formatted value
* color: string, // Classname used for the border
* }
*/
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
/*
* Ideal message type
* {
* icon: IconType,
* title: string,
* subtitle: string, // Optional
* value: string, // Markdown formatted value
* color: string, // Classname used for the border
* }
*/

Copy link
Member

Choose a reason for hiding this comment

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

actually you can leave the above

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, hopefully we can use this in the future

@asim-shrestha asim-shrestha merged commit c6df061 into main Jun 21, 2023
@asim-shrestha asim-shrestha deleted the updates branch July 4, 2023 22:31
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