Skip to content

Commit

Permalink
Revert "- improve: typification of shinkai name for agents"
Browse files Browse the repository at this point in the history
This reverts commit d9812e6.
  • Loading branch information
agallardol committed Oct 17, 2023
1 parent 84816fd commit 7f6b4e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
3 changes: 2 additions & 1 deletion apps/shinkai-visor/src/components/create-job/create-job.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ export const CreateJob = () => {
{agents?.map((agent) => (
<SelectItem key={agent.id} value={agent.id}>
{
agent.full_identity_name.subidentity_name
(agent.full_identity_name as any)
?.subidentity_name
}
</SelectItem>
))}
Expand Down
8 changes: 1 addition & 7 deletions libs/shinkai-message-ts/src/models/SchemaTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,7 @@ export interface APIReadUpToTimeRequest {

export interface SerializedAgent {
id: string;
full_identity_name: {
full_name: string,
node_name: string,
profile_name: string,
subidentity_type: 'Agent' | 'Device',
subidentity_name: string,
}; // ShinkaiName
full_identity_name: string; // ShinkaiName
perform_locally: boolean;
external_url?: string;
api_key?: string;
Expand Down

0 comments on commit 7f6b4e8

Please sign in to comment.