Skip to content

Commit

Permalink
v2.5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ashpreetbedi committed Oct 21, 2024
1 parent 626cdfa commit eefae35
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion cookbook/reasoning/strawberry.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async def main():
console.rule("[bold green]Regular Agent[/bold green]")
await regular_agent.aprint_response(task, stream=True)
console.rule("[bold yellow]Reasoning Agent[/bold yellow]")
await reasoning_agent.aprint_response(task, stream=True)
await reasoning_agent.aprint_response(task, stream=True, show_full_reasoning=True)


asyncio.run(main())
28 changes: 14 additions & 14 deletions phi/workspace/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,21 +312,21 @@ def setup_workspace(ws_root_path: Path, team: Optional[str] = None) -> bool:
print_info(f"Creating workspace in {selected_team.name}")
team_identifier = TeamIdentifier(id_team=selected_team.id_team, team_url=selected_team.url)

ws_schema = create_workspace_for_user(
user=phi_config.user,
workspace=WorkspaceCreate(
ws_name=new_workspace_name,
git_url=git_remote_origin_url,
),
team=team_identifier,
ws_schema = create_workspace_for_user(
user=phi_config.user,
workspace=WorkspaceCreate(
ws_name=new_workspace_name,
git_url=git_remote_origin_url,
),
team=team_identifier,
)
if ws_schema is not None:
logger.debug(f"Workspace created: {ws_schema.ws_name}")
if selected_team is not None:
logger.debug(f"Selected team: {selected_team.name}")
ws_config = phi_config.update_ws_config(
ws_root_path=ws_root_path, ws_schema=ws_schema, ws_team=selected_team, set_as_active=True
)
if ws_schema is not None:
logger.debug(f"Workspace created: {ws_schema.ws_name}")
if selected_team is not None:
logger.debug(f"Selected team: {selected_team.name}")
ws_config = phi_config.update_ws_config(
ws_root_path=ws_root_path, ws_schema=ws_schema, ws_team=selected_team, set_as_active=True
)

######################################################
# 2.2 Update WorkspaceSchema if git_url is updated
Expand Down

0 comments on commit eefae35

Please sign in to comment.