Omar Solano
commited on
Commit
Β·
8ce4dd7
1
Parent(s):
e1d5b50
add log
Browse files- scripts/main.py +2 -0
scripts/main.py
CHANGED
@@ -138,6 +138,8 @@ def format_sources(completion) -> str:
|
|
138 |
if len(completion.sources) == 0:
|
139 |
return ""
|
140 |
|
|
|
|
|
141 |
display_source_to_ui = {
|
142 |
src: ui for src, ui in zip(AVAILABLE_SOURCES, AVAILABLE_SOURCES_UI)
|
143 |
}
|
|
|
138 |
if len(completion.sources) == 0:
|
139 |
return ""
|
140 |
|
141 |
+
logfire.info(f"Formatting sources: {completion.sources}")
|
142 |
+
|
143 |
display_source_to_ui = {
|
144 |
src: ui for src, ui in zip(AVAILABLE_SOURCES, AVAILABLE_SOURCES_UI)
|
145 |
}
|