Replies: 2 comments
-
I ran into similar errors initially; I’m now seeing a different one. To unblock your current issue, try the following: This is the error I got now, maybe I also need to update entity extraction prompt.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
This should be resolved in 2.6.0; it was an issue with a changed response type from OpenAI that we needed to update to |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I tried to build a knowledge graph index using GraphRAG v2.6.0 with model: gpt-5 in my settings.yaml.
However, the process fails with the following error in the indexing-engine.log
Error code: 400 - {
'error': {
'message': "Invalid type for 'max_tokens': expected an unsupported value, but got null instead.",
'type': 'invalid_request_error',
'param': 'max_tokens',
'code': 'invalid_type'
}
}
GraphRAG version: 2.6.0
openai-python: 1.101.0
fnllm: 0.4.1
It works fine if I use model: gpt-4o, but always fails with model: gpt-5.
My .env has a valid key, and other configs (embedding: text-embedding-3-small) are fine.
Beta Was this translation helpful? Give feedback.
All reactions