refactor: Improve handling of optional fields and enhance compatibility score calculations
This commit is contained in:
@@ -28,7 +28,7 @@ class QueryProcessor:
|
||||
self.llm = ChatOpenAI(
|
||||
api_key=os.getenv("OPENROUTER_API_KEY"),
|
||||
base_url="https://openrouter.ai/api/v1",
|
||||
model="x-ai/grok-4-fast",
|
||||
model="openai/gpt-4o-mini",
|
||||
temperature=0,
|
||||
)
|
||||
self.toolkit = SQLDatabaseToolkit(db=db, llm=self.llm)
|
||||
|
||||
Reference in New Issue
Block a user