From d7f35b75c50f964536f30ac143856ec0a3e160d7 Mon Sep 17 00:00:00 2001 From: arkml Date: Fri, 31 Jan 2025 12:54:01 +0530 Subject: [PATCH 1/2] copilot: use o1 --- apps/copilot/copilot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/copilot/copilot.py b/apps/copilot/copilot.py index f2396fe5..428d824c 100644 --- a/apps/copilot/copilot.py +++ b/apps/copilot/copilot.py @@ -6,6 +6,7 @@ import json from lib import AgentContext, PromptContext, ToolContext, ChatContext openai_client = OpenAI() +MODEL_NAME = "o1" # OpenAI model name class UserMessage(BaseModel): role: Literal["user"] @@ -503,7 +504,7 @@ User: {last_message.content} print(json.dumps(updated_msgs, indent=2)) response = openai_client.chat.completions.create( - model="gpt-4o", + model=MODEL_NAME, messages=updated_msgs, response_format={"type": "json_object"} ) From 767c6a6561a1a50f7d83fbea62bf72c6a66257bc Mon Sep 17 00:00:00 2001 From: akhisud3195 Date: Fri, 31 Jan 2025 16:29:39 +0530 Subject: [PATCH 2/2] Fill license placeholder --- LICENSE | 2 +- apps/docs/docs/license.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LICENSE b/LICENSE index 261eeb9e..7482465d 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright [2024] [RowBoat Labs] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/apps/docs/docs/license.md b/apps/docs/docs/license.md index 7761e551..a38ae9b9 100644 --- a/apps/docs/docs/license.md +++ b/apps/docs/docs/license.md @@ -190,7 +190,7 @@ RowBoat is available under the [Apache 2.0 License](https://github.com/rowboatla same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright [2024] [RowBoat Labs] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.