Skip to content

Commit 32ae882

Browse files
abchang123copybara-github
authored andcommitted
feat: Add camel case converter for agents
PiperOrigin-RevId: 786465205
1 parent 884c201 commit 32ae882

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/google/adk/agents/base_agent.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232

3333
from google.genai import types
3434
from opentelemetry import trace
35-
from pydantic import alias_generators
3635
from pydantic import BaseModel
3736
from pydantic import ConfigDict
3837
from pydantic import Field
@@ -605,11 +604,7 @@ class BaseAgentConfig(BaseModel):
605604
Do not use this class directly. It's the base class for all agent configs.
606605
"""
607606

608-
model_config = ConfigDict(
609-
extra='forbid',
610-
alias_generator=alias_generators.to_camel,
611-
populate_by_name=True,
612-
)
607+
model_config = ConfigDict(extra='forbid')
613608

614609
agent_class: Literal['BaseAgent'] = 'BaseAgent'
615610
"""Required. The class of the agent. The value is used to differentiate

0 commit comments

Comments
 (0)