fix: add type hints and ignore type checks for config access

This commit is contained in:
Lucas Gomide
2025-04-14 11:42:09 -03:00
parent 10edde100e
commit 24a0f66141
12 changed files with 93 additions and 47 deletions

View File

@@ -438,7 +438,7 @@ In this section, you'll find detailed examples that help you select, configure,
@agent
def researcher(self) -> Agent:
return Agent(
config=self.agents_config['researcher'],
config=self.agents_config['researcher'], # type: ignore[index]
llm=local_nvidia_nim_llm
)