Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Proxy dictionary is missing required fields. #812

Open
manu2022 opened this issue Nov 19, 2024 · 0 comments
Open

ValueError: Proxy dictionary is missing required fields. #812

manu2022 opened this issue Nov 19, 2024 · 0 comments

Comments

@manu2022
Copy link

from scrapegraphai.utils.proxy_rotation import search_proxy_servers
search_proxy_servers()

graph_config = {
"llm": {
"model": "gpt-4o",
},
"verbose": True,
"max_results": 1,
# "search_engine": "bing",
"headless": False,
"loader_kwargs": {
"proxy": {
"server": "here i put the server",
}
}
}

search_graph = SearchGraph(
prompt=PROMPTS.get("propmt_vvs")["prompt"].format(**data),
config=graph_config,
schema=model,
)
ValueError: Proxy dictionary is missing required fields.

version 1.31.

The thing is that I cannot manually specify the proxy. it says I am missing fields, but I have all the ones in the documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant