#(solved) function agent not working

1 messages · Page 1 of 1 (latest)

kind wadi
split wyvern
#

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

split wyvern
#

Retested this morning and the function agent just won’t use any plugins on latest with gpt3.5. 🤔

split wyvern
cobalt narwhal
split wyvern
split wyvern
#

(solved) function agent not working

kind wadi
#

issue still not resolved, you can try structured stable diffusion tool, still not working

split wyvern
#

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

cobalt narwhal
kind wadi
cobalt narwhal
#

and again with your exact settings

kind wadi
cobalt narwhal
#

did you update the app with latest? I don't know what else it could be for you

kind wadi
#

code just updated

cobalt narwhal
#

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": []
}
kind wadi
#

can you provide your request params in chrome console

cobalt narwhal
#
{"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}}
cobalt narwhal
#

do you have gpt-4 access? you could make sure to select gpt-3 for the agent

kind wadi
#

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

split wyvern
#

glad you figured it out!

kind wadi
#

thanks, i am trying to add my Midjourney custom plugin

split wyvern
#

That's cool!

cobalt narwhal
kind wadi
kind wadi
sour lotus
split wyvern
sour lotus
#

🤣

split wyvern
#

Seriously tho, they said that they will open it for everyone "soon"