Skip to content

Commit

Permalink
pass through project_id for notebook creator
Browse files Browse the repository at this point in the history
  • Loading branch information
rgbkrk committed Aug 29, 2023
1 parent 6211c22 commit 963c093
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chatlab/builtins/noteable.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def chat_functions(self):
]


def provide_notebook_creation(registry: FunctionRegistry):
def provide_notebook_creation(registry: FunctionRegistry, project_id: Optional[str] = None):
"""Register the notebook client with the registry.
>>> from chatlab import FunctionRegistry, Chat
Expand All @@ -502,7 +502,7 @@ async def create_conversation_notebook(file_name: str):
file_name=file_name,
token=os.environ.get("NOTEABLE_TOKEN"),
# Chatlab/Outputs project
project_id="c35bb93b-6902-44e5-976e-ae42859cb23e",
project_id=project_id,
)

# Register all the regular notebook operations
Expand Down

0 comments on commit 963c093

Please sign in to comment.