#(solved) function agent not working
1 messages · Page 1 of 1 (latest)
While I was able to use function agent before they were released I admit that I was had the same error when I just tried to use them with gpt-3.5
Retested this morning and the function agent just won’t use any plugins on latest with gpt3.5. 🤔
I've replied to yoru github issue, and handled potential issues here: https://github.com/danny-avila/LibreChat/pull/538
You’re the man! It's looking good!
(solved) function agent not working
issue still not resolved, you can try structured stable diffusion tool, still not working
Thanks for providing the log, I’ll test with stable diffusion later, my sd install broke a couple of days ago, I’ll have to fix that first
and again with your exact settings
currently dall-e still not refactor to structured style
did you update the app with latest? I don't know what else it could be for you
code just updated
ok, because I ran it with your settings and had no issue. here are my logs
sendMessage draw me a pen {
getIds: [Function: getIds],
user: '646ad6a439ba878408506b7e',
parentMessageId: '00000000-0000-0000-0000-000000000000',
conversationId: 'ad06ebb5-5939-4431-9e90-7cc188dc650e',
overrideParentMessageId: '2ccddfc2-c419-4def-9642-9f802184b12f',
onAgentAction: [Function: onAgentAction],
onChainEnd: [Function: onChainEnd],
onStart: [Function: onStart],
chatGptLabel: null,
promptPrefix: null,
tools: [ 'stable-diffusion' ],
onProgress: [Function: wrapper],
abortController: AbortController { signal: AbortSignal { aborted: false } }
}
Loading history for conversation ad06ebb5-5939-4431-9e90-7cc188dc650e 00000000-0000-0000-0000-000000000000
options
{
debug: true,
reverseProxyUrl: null,
proxy: null,
chatGptLabel: null,
promptPrefix: null,
tools: [ 'stable-diffusion' ],
modelOptions: {
model: 'gpt-3.5-turbo-0613',
temperature: 0.8,
top_p: 1,
presence_penalty: 0,
frequency_penalty: 0
},
agentOptions: {
agent: 'functions',
skipCompletion: false,
model: 'gpt-4-0613',
temperature: 0
},
getIds: [Function: getIds],
user: '646ad6a439ba878408506b7e',
parentMessageId: '00000000-0000-0000-0000-000000000000',
conversationId: 'ad06ebb5-5939-4431-9e90-7cc188dc650e',
overrideParentMessageId: '2ccddfc2-c419-4def-9642-9f802184b12f',
onAgentAction: [Function: onAgentAction],
onChainEnd: [Function: onChainEnd],
onStart: [Function: onStart],
onProgress: [Function: wrapper],
abortController: AbortController { signal: AbortSignal { aborted: false } }
}
<-----Agent Model: gpt-4-0613 | Temp: 0----->
Requested Tools
[ 'stable-diffusion' ]
Loaded Tools
[ 'stable-diffusion' ]
Loaded agent.
Attempt 1 of 1
[chain/start] [1:chain:AgentExecutor] Entering Chain run with input: {
"input": "draw me a pen",
"signal": {},
"chat_history": []
}
can you provide your request params in chrome console
{"sender":"User","text":"draw me a pen","current":true,"isCreatedByUser":true,"parentMessageId":"00000000-0000-0000-0000-000000000000","conversationId":"ad06ebb5-5939-4431-9e90-7cc188dc650e","messageId":"2cdf9f07-7a41-4364-8e5a-9c108c374c7e","overrideParentMessageId":"2ccddfc2-c419-4def-9642-9f802184b12f","endpoint":"gptPlugins","tools":[{"name":"Stable Diffusion","pluginKey":"stable-diffusion","description":"Generate photo-realistic images given any text input.","icon":"https://i.imgur.com/Yr466dp.png","authConfig":[{"authField":"SD_WEBUI_URL","label":"Your Stable Diffusion WebUI API URL","description":"You need to provide the URL of your Stable Diffusion WebUI API. For instructions on how to obtain this, see <a href='url'>Our Docs</a>."}],"authenticated":true}],"model":"gpt-3.5-turbo-0613","chatGptLabel":null,"promptPrefix":null,"temperature":0.8,"top_p":1,"presence_penalty":0,"frequency_penalty":0,"agentOptions":{"agent":"functions","skipCompletion":false,"model":"gpt-4-0613","temperature":0}}
this is easy but haven't found the time to do it. will do it soon
do you have gpt-4 access? you could make sure to select gpt-3 for the agent
i have gpt4 access
i will try to figure it out
sorry, it is my issue,i use forward proxy to openai,request body have been rewrite
glad you figured it out!
thanks, i am trying to add my Midjourney custom plugin
That's cool!
please feel free to make a PR!
you request access and pray!
🤣
Seriously tho, they said that they will open it for everyone "soon"