Skip to content

Commit

Permalink
Merge pull request #237 from TransformerOptimus/dev
Browse files Browse the repository at this point in the history
Dev -> Main
  • Loading branch information
TransformerOptimus committed Jun 7, 2023
2 parents 9b3ac31 + 23a8645 commit 5404014
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions gui/pages/Content/Agents/ActivityFeed.js
Expand Up @@ -47,6 +47,10 @@ export default function ActivityFeed({selectedRunId}) {
fetchFeeds();
}, [selectedRunId])

useEffect(() => {
EventBus.emit('reFetchAgents', {});
}, [runStatus])

function fetchFeeds() {
getExecutionFeeds(selectedRunId)
.then((response) => {
Expand Down
2 changes: 1 addition & 1 deletion gui/pages/Content/Agents/AgentCreate.js
Expand Up @@ -547,7 +547,7 @@ export default function AgentCreate({sendAgentData, selectedProjectId, fetchAgen
<div style={{marginTop:'15px'}}>
<label className={styles.form_label}>Max iterations</label>
<div style={{display:'flex',alignItems:'center',justifyContent:'space-between'}}>
<input style={{width:'90%'}} type="range" min={0} max={100} value={maxIterations} onChange={handleIterationChange}/>
<input style={{width:'90%'}} type="range" min={5} max={100} value={maxIterations} onChange={handleIterationChange}/>
<input style={{width:'9%',order:'1',textAlign:'center',paddingLeft:'0',paddingRight:'0'}} disabled={true} className="input_medium" type="text" value={maxIterations}/>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions superagi/tools/image_generation/dalle_image_gen.py
Expand Up @@ -11,8 +11,8 @@

class ImageGenInput(BaseModel):
prompt: str = Field(..., description="Prompt for Image Generation to be used by Dalle.")
size: int = Field(..., description="Size of the image to be Generated.")
num: int = Field(..., description="Number of Images to be generated")
size: int = Field(..., description="Size of the image to be Generated. default size is 512")
num: int = Field(..., description="Number of Images to be generated. default num is 2")
image_name: list = Field(..., description="Image Names for the generated images, example 'image_1.png'")


Expand Down

0 comments on commit 5404014

Please sign in to comment.