Skip to content

Commit e04433c

Browse files
authored
Fix Copyright year to 2026 (#633)
1 parent 51696c2 commit e04433c

File tree

17 files changed

+41
-41
lines changed

17 files changed

+41
-41
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 Apache Software Foundation
1+
# Copyright 2026 Apache Software Foundation
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

.style.yapf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 Apache Software Foundation
1+
# Copyright 2026 Apache Software Foundation
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Apache Burr (Incubating)
2-
Copyright 2025 The Apache Software Foundation
2+
Copyright 2026 The Apache Software Foundation
33

44
This product includes software developed at
55
The Apache Software Foundation (http://www.apache.org/).

burr/tracking/server/s3/deployment/terraform/.terraform.lock.hcl

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/deep-researcher/notebook.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outputs": [],
77
"execution_count": null,
88
"source": [
9-
"# Copyright 2025 Apache Software Foundation\n",
9+
"# Copyright 2026 Apache Software Foundation\n",
1010
"#\n",
1111
"# Licensed under the Apache License, Version 2.0 (the \"License\");\n",
1212
"# you may not use this file except in compliance with the License.\n",
@@ -180,7 +180,7 @@
180180
"source": [
181181
"## Deep Researcher\n",
182182
"\n",
183-
"This is an example of a research assistant agent that uses llm chat and llm-friendly search together to provide a report, complete with internet citations, on a topic of the user's choosing. The graph for the agent includes optional reflection and re-writing that is implemented as a loop. This particular version of a research assistant uses the OpenAI API code for chat and the Tavily API for search. \n",
183+
"This is an example of a research assistant agent that uses llm chat and llm-friendly search together to provide a report, complete with internet citations, on a topic of the user's choosing. The graph for the agent includes optional reflection and re-writing that is implemented as a loop. This particular version of a research assistant uses the OpenAI API code for chat and the Tavily API for search.\n",
184184
"\n",
185185
"Given a research topic, the research assistant flow consists of several steps. On initialization, the assistant must:\n",
186186
"\n",
@@ -197,7 +197,7 @@
197197
"5. Finalize summary with formatted sources and return it to the user.\n",
198198
"\n",
199199
"The graph for the application is visualized below.\n",
200-
" \n"
200+
"\n"
201201
]
202202
},
203203
{
@@ -364,7 +364,7 @@
364364
"source": [
365365
"my_research_topic = \"getting a job in datascience\"\n",
366366
"action, state, result = app.run(halt_after=[\"finalize_summary\"], inputs={\"research_topic\": my_research_topic})\n",
367-
"print(app.state[\"running_summary\"]) "
367+
"print(app.state[\"running_summary\"])"
368368
]
369369
},
370370
{
@@ -384,7 +384,7 @@
384384
"source": [
385385
"my_research_topic = \"how to get started with canning food at home\"\n",
386386
"action, state, result = app.run(halt_after=[\"finalize_summary\"], inputs={\"research_topic\": my_research_topic})\n",
387-
"print(app.state[\"running_summary\"]) "
387+
"print(app.state[\"running_summary\"])"
388388
]
389389
},
390390
{

examples/deep-researcher/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 Apache Software Foundation
1+
# Copyright 2026 Apache Software Foundation
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

examples/email-assistant/notebook.ipynb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outputs": [],
77
"execution_count": null,
88
"source": [
9-
"# Copyright 2025 Apache Software Foundation\n",
9+
"# Copyright 2026 Apache Software Foundation\n",
1010
"#\n",
1111
"# Licensed under the Apache License, Version 2.0 (the \"License\");\n",
1212
"# you may not use this file except in compliance with the License.\n",
@@ -57,15 +57,15 @@
5757
"source": [
5858
"# The Application\n",
5959
"\n",
60-
"We're modeling this as a multi-shot model. No sane person would trust GPT-x to respond on their behalf, \n",
60+
"We're modeling this as a multi-shot model. No sane person would trust GPT-x to respond on their behalf,\n",
6161
"but it can be quite valuable in helping automate the process of responding to an email and deciding how to respond.\n",
6262
"There are a few interaction points:\n",
6363
"\n",
6464
"1. Initially, the user provides an email and response instructions (note this should probably be changed to be a chain of emails)\n",
6565
"2. The LLM has the option to ask a set of clarifying questions that the user can then respond to\n",
6666
"3. The user then provides feedback. If feedback is empty, the LLM will return a result\n",
6767
"\n",
68-
"This demonstrates how to use Burr to move in/out of more complex flows. \n",
68+
"This demonstrates how to use Burr to move in/out of more complex flows.\n",
6969
"\n",
7070
"First, we instantiate/visualize the application. To see the code, see [application.py](application.py)."
7171
]
@@ -146,9 +146,9 @@
146146
"Regards,\n",
147147
"Someone\"\"\"\n",
148148
"\n",
149-
"INSTRUCTIONS = \"\"\"I get a bunch of these emails and usually ignore them. I don't want to pay \n",
150-
"(or really engage) but I want to see if they can help promote our tooling, \n",
151-
"particularly the OS libraries Hamilton and Burr, which are tools for AI practitioners. \n",
149+
"INSTRUCTIONS = \"\"\"I get a bunch of these emails and usually ignore them. I don't want to pay\n",
150+
"(or really engage) but I want to see if they can help promote our tooling,\n",
151+
"particularly the OS libraries Hamilton and Burr, which are tools for AI practitioners.\n",
152152
"Let's see if we can turn this cold-call around.\n",
153153
"\"\"\""
154154
]
@@ -200,7 +200,7 @@
200200
"\n",
201201
"def request_feedback(draft):\n",
202202
" \"\"\"Requests feedback from the user for a draft\"\"\"\n",
203-
" print( \n",
203+
" print(\n",
204204
" f\"here's a draft!: \\n {draft} \\n \\n What feedback do you have?\",\n",
205205
" \"If you have no feedback then we'll finish it up.\"\n",
206206
" )\n",
@@ -212,7 +212,7 @@
212212
"}\n",
213213
"while True:\n",
214214
" action, result, state = app.run(\n",
215-
" halt_before=[\"clarify_instructions\", \"process_feedback\"], \n",
215+
" halt_before=[\"clarify_instructions\", \"process_feedback\"],\n",
216216
" halt_after=[\"final_result\"],\n",
217217
" inputs=inputs\n",
218218
" )\n",

examples/email-assistant/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 Apache Software Foundation
1+
# Copyright 2026 Apache Software Foundation
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.

examples/hello-world-counter/notebook.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outputs": [],
77
"execution_count": null,
88
"source": [
9-
"# Copyright 2025 Apache Software Foundation\n",
9+
"# Copyright 2026 Apache Software Foundation\n",
1010
"#\n",
1111
"# Licensed under the Apache License, Version 2.0 (the \"License\");\n",
1212
"# you may not use this file except in compliance with the License.\n",

examples/multi-modal-chatbot/burr_demo.ipynb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outputs": [],
77
"execution_count": null,
88
"source": [
9-
"# Copyright 2025 Apache Software Foundation\n",
9+
"# Copyright 2026 Apache Software Foundation\n",
1010
"#\n",
1111
"# Licensed under the Apache License, Version 2.0 (the \"License\");\n",
1212
"# you may not use this file except in compliance with the License.\n",
@@ -123,7 +123,7 @@
123123
"import copy\n",
124124
"\n",
125125
"from IPython.display import Image, display\n",
126-
"from IPython.core.display import HTML \n",
126+
"from IPython.core.display import HTML\n",
127127
"import openai\n",
128128
"\n",
129129
"from burr.core import ApplicationBuilder, State, default, graph, when\n",
@@ -190,7 +190,7 @@
190190
"def chat_response(\n",
191191
" state: State, prepend_prompt: str, model: str = \"gpt-3.5-turbo\"\n",
192192
") -> State:\n",
193-
" \n",
193+
"\n",
194194
" chat_history = copy.deepcopy(state[\"chat_history\"])\n",
195195
" chat_history[-1][\"content\"] = f\"{prepend_prompt}: {chat_history[-1]['content']}\"\n",
196196
" chat_history_api_format = [\n",
@@ -409,7 +409,7 @@
409409
"base_graph = (\n",
410410
" graph.GraphBuilder()\n",
411411
" .with_actions(\n",
412-
" # these are the \"nodes\" \n",
412+
" # these are the \"nodes\"\n",
413413
" prompt=process_prompt,\n",
414414
" decide_mode=choose_mode,\n",
415415
" generate_image=image_response,\n",
@@ -635,8 +635,8 @@
635635
" ApplicationBuilder()\n",
636636
" .with_graph(base_graph)\n",
637637
" .initialize_from(\n",
638-
" tracker, \n",
639-
" resume_at_next_action=True, \n",
638+
" tracker,\n",
639+
" resume_at_next_action=True,\n",
640640
" default_state={\"chat_history\": []},\n",
641641
" default_entrypoint=\"prompt\",\n",
642642
" )\n",
@@ -744,7 +744,7 @@
744744
" if \"quit\" == user_input.lower():\n",
745745
" break\n",
746746
" last_action, action_result, app_state = app.run(\n",
747-
" halt_after=[\"response\"], \n",
747+
" halt_after=[\"response\"],\n",
748748
" inputs={\"prompt\": user_input}\n",
749749
" )\n",
750750
" last_message = app_state[\"chat_history\"][-1]\n",
@@ -796,7 +796,7 @@
796796
" .with_graph(base_graph)\n",
797797
" .initialize_from(\n",
798798
" tracker,\n",
799-
" resume_at_next_action=True, \n",
799+
" resume_at_next_action=True,\n",
800800
" default_state={\"chat_history\": []},\n",
801801
" default_entrypoint=\"prompt\",\n",
802802
" )\n",
@@ -868,7 +868,7 @@
868868
" if \"quit\" == user_input.lower():\n",
869869
" break\n",
870870
" last_action, action_result, app_state = resumed_app.run(\n",
871-
" halt_after=[\"response\"], \n",
871+
" halt_after=[\"response\"],\n",
872872
" inputs={\"prompt\": user_input}\n",
873873
" )\n",
874874
" last_message = app_state[\"chat_history\"][-1]\n",
@@ -917,7 +917,7 @@
917917
" .with_graph(base_graph) # this could be different...\n",
918918
" .initialize_from(\n",
919919
" tracker,\n",
920-
" resume_at_next_action=True, \n",
920+
" resume_at_next_action=True,\n",
921921
" default_state={\"chat_history\": []},\n",
922922
" default_entrypoint=\"prompt\",\n",
923923
" fork_from_app_id=app_id,\n",
@@ -997,7 +997,7 @@
997997
" if \"quit\" == user_input.lower():\n",
998998
" break\n",
999999
" last_action, action_result, app_state = forked_app.run(\n",
1000-
" halt_after=[\"response\"], \n",
1000+
" halt_after=[\"response\"],\n",
10011001
" inputs={\"prompt\": user_input}\n",
10021002
" )\n",
10031003
" last_message = app_state[\"chat_history\"][-1]\n",
@@ -1021,7 +1021,7 @@
10211021
"\n",
10221022
"[Time Travel blog post & video:](https://blog.dagworks.io/p/travel-back-in-time-with-burr)\n",
10231023
"\n",
1024-
"<a href=\"https://www.youtube.com/embed/98vxhIcE6NI?si=oV1BbSUCKa1UvX5P\"><img src=\"https://img.youtube.com/vi/98vxhIcE6NI/0.jpg\"> \n",
1024+
"<a href=\"https://www.youtube.com/embed/98vxhIcE6NI?si=oV1BbSUCKa1UvX5P\"><img src=\"https://img.youtube.com/vi/98vxhIcE6NI/0.jpg\">\n",
10251025
"</img>\n",
10261026
"<a href=\"https://www.youtube.com/embed/98vxhIcE6NI?si=oV1BbSUCKa1UvX5P\">\n",
10271027
"\n",

0 commit comments

Comments
 (0)