minor fixes
This commit is contained in:
@@ -212,6 +212,8 @@ export default function AgentModal(props: {
|
||||
{isEdit ? (
|
||||
<Textarea
|
||||
label="Backstory"
|
||||
color="blue"
|
||||
className="text-white"
|
||||
resize={true}
|
||||
value={tempAgent?.backstory || ""}
|
||||
onChange={(event) => {
|
||||
@@ -271,7 +273,7 @@ export default function AgentModal(props: {
|
||||
<Switch
|
||||
crossOrigin={undefined}
|
||||
color="blue"
|
||||
defaultChecked={tempAgent?.allowDelegation}
|
||||
checked={agent?.allowDelegation}
|
||||
disabled={true}
|
||||
/>
|
||||
)}
|
||||
@@ -294,7 +296,7 @@ export default function AgentModal(props: {
|
||||
<Switch
|
||||
crossOrigin={undefined}
|
||||
color="blue"
|
||||
defaultChecked={tempAgent?.verbose}
|
||||
checked={agent?.verbose}
|
||||
disabled={true}
|
||||
/>
|
||||
)}
|
||||
@@ -317,7 +319,7 @@ export default function AgentModal(props: {
|
||||
<Switch
|
||||
crossOrigin={undefined}
|
||||
color="blue"
|
||||
defaultChecked={tempAgent?.memory}
|
||||
checked={agent?.memory}
|
||||
disabled={true}
|
||||
/>
|
||||
)}
|
||||
|
||||
@@ -111,6 +111,7 @@ function NewAgentModal(props: {
|
||||
<Textarea
|
||||
label="Backstory"
|
||||
color="blue"
|
||||
className="text-white"
|
||||
resize={true}
|
||||
value={tempAgent?.backstory || ""}
|
||||
onChange={(event) => {
|
||||
|
||||
@@ -62,6 +62,7 @@ export const CREATE_AGENT = gql`
|
||||
tools
|
||||
allowDelegation
|
||||
verbose
|
||||
memory
|
||||
image
|
||||
}
|
||||
}
|
||||
@@ -220,7 +221,7 @@ export const UPDATE_MISSION = gql`
|
||||
$id: Int!
|
||||
$name: String
|
||||
$crew: [Int!]
|
||||
$tasks: [Task!]
|
||||
$tasks: [TaskInput!]
|
||||
$verbose: Boolean
|
||||
$process: MissionProcess
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user