AI Web Agent avatar
AI Web Agent

Pricing

Pay per usage

Go to Store
AI Web Agent

AI Web Agent

apify/ai-web-agent

Developed by

Apify

Maintained by Apify

Use natural language prompts to browse the web, click on elements, fill and submit forms, extract data, and take screenshots using the OpenAI API.

4.2 (7)

Pricing

Pay per usage

51

Monthly users

156

Runs succeeded

47%

Response time

62 days

Last modified

22 days ago

AB

GPT-4 maximum context tokens exceeded

Closed
accomplished_bureau opened this issue
a year ago

I am trying to run GPT-4 with an instruction, but it fails with the error message: 2024-02-09T13:27:00.414Z message: "This model's maximum context length is 8192 tokens. However, your messages resulted in 8892 tokens (8534 in the messages, 358 in the functions). Please reduce the length of the messages or functions." GPT-3.5 runs it without a problem though. Can you fix this for GPT-4 please, or let me know what can I do to decrease context tokens?

paja avatar

Hi, thanks for your patience, we'll discuss it in the team and let you know if there's anything what can be done. Do you think you could share the problematic run with us?

zenisjan avatar

Hello there,

Please try GPT-4 106K model. That should fix it.

Cheers, Jan

paja avatar

Hi again, I'm going to close the issue for now, but if there's anything else we can help you with, please let us know.

Pricing

Pricing model

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage.