Skip to content

Commit

Permalink
Style: format code with [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
aybruhm committed May 28, 2024
1 parent 71915d4 commit 5d71490
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion agenta-cli/agenta/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@

config = PreInitObject("agenta.config", Config)
DEFAULT_AGENTA_SINGLETON_INSTANCE = AgentaSingleton()
tracing = DEFAULT_AGENTA_SINGLETON_INSTANCE.tracing # type: ignore
tracing = DEFAULT_AGENTA_SINGLETON_INSTANCE.tracing # type: ignore
2 changes: 1 addition & 1 deletion agenta-cli/agenta/sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@

config = PreInitObject("agenta.config", Config)
DEFAULT_AGENTA_SINGLETON_INSTANCE = AgentaSingleton()
tracing = DEFAULT_AGENTA_SINGLETON_INSTANCE.tracing # type: ignore
tracing = DEFAULT_AGENTA_SINGLETON_INSTANCE.tracing # type: ignore
2 changes: 1 addition & 1 deletion agenta-cli/agenta/sdk/agenta_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def init(
self.base_id = base_id
self.variant_id = os.environ.get("AGENTA_VARIANT_ID")
self.variant_name = os.environ.get("AGENTA_VARIANT_NAME")
self.config = Config(base_id=self.base_id, host=self.host, api_key=self.api_key) # type: ignore
self.config = Config(base_id=self.base_id, host=self.host, api_key=self.api_key) # type: ignore

def get_app_base(self, app_id: str, base_name: str) -> str:
bases = self.client.bases.list_bases(app_id=app_id, base_name=base_name)
Expand Down
1 change: 0 additions & 1 deletion agenta-cli/agenta/sdk/decorators/llm_entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ async def wrapper_deployed(*args, **kwargs) -> Any:
else:
agenta.config.pull(config_name="default")


# Set the configuration and environment of the LLM app parent span at run-time
agenta.tracing.set_span_attribute(
attributes={"config": config_params}, is_parent_span=True
Expand Down

0 comments on commit 5d71490

Please sign in to comment.