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