File size: 670 Bytes
ede75db
 
cf42750
 
 
120d2f5
 
 
 
1
2
3
4
5
6
7
8
9
10
import os
os.system('pip install git+https://github.com/broadfield-dev/Do_it_All')
from doitall import main
history = []
prompt_in="why is the sky blue?"
clients=[{'type':'text','loc':'hf','name':'Qwen/Qwen2.5-Coder-32B-Instruct','rank':'op','max_tokens':32768,'schema':{'bos':'<|im_start|>','eos':'<|im_end|>'},'ppt':'None'},
        {'type':'image','loc':'hf','key':'','name':'black-forest-labs/FLUX.1-dev','rank':'op','max_tokens':16384,'schema':{'bos':'<|im_start|>','eos':'<|im_end|>'},'ppt':'None'},
]
print(main.Do_It_All(clients=clients).agent(prompt_in,history,mod=2,tok_in="",rand_seed=True,seed=1,max_thought=5,save_mem=False,recall_mem=False,rag_col=False))