Spaces:
Build error
Build error
hh
Browse files- _live2.txt +0 -25
- _live_out.txt +0 -78
- _test_report.pdf +0 -0
- app.py +8 -15
_live2.txt
DELETED
|
@@ -1,25 +0,0 @@
|
|
| 1 |
-
Engine: raw
|
| 2 |
-
Sources: 10
|
| 3 |
-
|
| 4 |
-
_LLM unavailable — showing raw fetched sources below. Static analysis in the Analyze tab remains fully functional._
|
| 5 |
-
|
| 6 |
-
- **[1] Implementing Certain Tariff-Related Elements of the Framework for a United States-Switzerland-Liechtenstein Agreement on Fair, Balanced, and Reciprocal Trade** (2025-12-18)
|
| 7 |
-
On September 5, 2025, President Trump issued Executive Order 14346 (Modifying the Scope of Reciprocal Tariffs and Establishing Procedures for Implementing Trade and Security Agreements). Executive Order 14346 directed and authorized the Secretary of Commerce and the United States Trade Representative to take the necessary and appropriate steps to i
|
| 8 |
-
- **[2] Implementing Certain Tariff-Related Elements of the U.S.-EU Framework on an Agreement on Reciprocal, Fair, and Balanced Trade** (2025-09-25)
|
| 9 |
-
On August 21, 2025, the United States and the European Union announced agreement on a Framework on an Agreement on Reciprocal, Fair, and Balanced Trade (Framework Agreement). On September 5, 2025, President Trump issued Executive Order 14346, Modifying the Scope of Reciprocal Tariffs and Establishing Procedures for Implementing Trade and Security A
|
| 10 |
-
- **[3] Active Anode Material From China; Scheduling of the Final Phase of Countervailing Duty and Antidumping Duty Investigations** (2025-08-13)
|
| 11 |
-
The Commission hereby gives notice of the scheduling of the final phase of antidumping and countervailing duty investigation Nos. 701-TA-752 and 731-TA-1730 (Final) pursuant to the Tariff Act of 1930 to determine whether an industry in the United States is materially injured or threatened with material injury, or the establishment of an industry in
|
| 12 |
-
- **[4] Certain Rechargeable Batteries and Components and Packaging Thereof; Notice of a Commission Determination Not To Review an Initial Determination Terminating the Investigation as to the Last Active Respondents Based on Settlement; Request for Briefing on Remedy, the Public Interest, and Bonding** (2025-08-19)
|
| 13 |
-
Notice is hereby given that the U.S. International Trade Commission has determined not to review an initial determination ("ID") (Order No. 38) issued by the presiding administrative law judge ("ALJ") granting a joint motion filed by complainants LithiumHub, LLC of Norris, SC, Lithiumhub Technologies, LLC of Marshall, TX, and Martin Koebler of Norr
|
| 14 |
-
- **[5] Crystalline Silicon Photovoltaic Cells, Whether or Not Assembled Into Modules, From India, Indonesia, and Laos; Scheduling of the Final Phase of Antidumping and Countervailing Duty Investigations** (2026-05-13)
|
| 15 |
-
The Commission hereby gives notice of the scheduling of the final phase of antidumping and countervailing duty investigation Nos. 701-TA-772-774 and 731-TA-1756-1758 (Final) pursuant to the Tariff Act of 1930 to determine whether an industry in the United States is materially injured or threatened with material injury, or the establishment of an in
|
| 16 |
-
- **[6] Battery Import Tariff Rate 2026 — Calculate Duties** ()
|
| 17 |
-
Battery Import Tariff Rate 2026 — Calculate Duties www.tariffstool.com/tariffs-on-energy-batteries Understanding Energy & Batteries Import Duties Energy & Batteries imports to the US (HTS Chapters 85) face a base MFN rate of 3.4%, on top of which the 10% Section 122 tariff applies to all countries. Chinese solar panels face 50% Section 301 tariffs
|
| 18 |
-
- **[7] Complete Guide to Section 301 China Tariffs in 2026** ()
|
| 19 |
-
Complete Guide to Section 301 China Tariffs in 2026 gatewaylines.com/press-releases/complete-guide-to-section-301-china-tariffs-in-2026 Updated 2026 guide to US Section 301 tariffs on Chinese imports . Current duty rates for Lists 1-4A (25-100%), EVs, apparel, semiconductors, steel, aluminum. HTS code lookup, exclusion status, and free tariff calcu
|
| 20 |
-
- **[8] Section 301 Tariff Increases in 2026: Major Rate Hikes for Batteries ...** ()
|
| 21 |
-
Section 301 Tariff Increases in 2026: Major Rate Hikes for Batteries ... www.tarifflens.ai/blog/section-301-increases-2026 If you import batteries, medical supplies, permanent magnets, or natural graphite from China, your duty costs are about to spike dramatically. Here's what's changing on January 1, 2026 , and how to prepare. The Section 301 tari
|
| 22 |
-
- **[9] US Tariffs on China 2026: Section 301 & IEEPA Guide** ()
|
| 23 |
-
US Tariffs on China 2026: Section 301 & IEEPA Guide hsrates.com/en/guides/us-tariffs-on-china-2026/ The United States imposes some of the highest tariff rates in modern history on Chinese imports . As of February 2026 , importers face a patchwork of duties under Section 301 , Section 232, and the newly imposed Section 122 global tariff -- with comb
|
| 24 |
-
- **[10] US Tariffs on Chinese Lithium Batteries Hit 82% in 2026: What Importers ...** ()
|
| 25 |
-
US Tariffs on Chinese Lithium Batteries Hit 82% in 2026: What Importers ... www.szsanyi.com/en/blog/us-tariff-china-lithium-battery-2026 On January 1, 2026 , the US Section 301 tariff on non-EV lithium batteries from China jumped from 7.5% to 25%. Stack that on top of the 3.4% base MFN duty and the 54% reciprocal tariff , and the combined rate land
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_live_out.txt
DELETED
|
@@ -1,78 +0,0 @@
|
|
| 1 |
-
Engine: raw
|
| 2 |
-
Fed query: battery only tariff
|
| 3 |
-
Web query: battery only US import tariff Section 301 2026
|
| 4 |
-
|
| 5 |
-
=== SUMMARY ===
|
| 6 |
-
_LLM unavailable — showing raw fetched sources below. Static analysis in the Analyze tab remains fully functional._
|
| 7 |
-
|
| 8 |
-
- **[1] Implementing Certain Tariff-Related Elements of the Framework for a United States-Switzerland-Liechtenstein Agreement on Fair, Balanced, and Reciprocal Trade** (2025-12-18)
|
| 9 |
-
On September 5, 2025, President Trump issued Executive Order 14346 (Modifying the Scope of Reciprocal Tariffs and Establishing Procedures for Implementing Trade and Security Agreements). Executive Order 14346 directed and authorized the Secretary of Commerce and the United States Trade Representative to take the necessary and appropriate steps to i
|
| 10 |
-
- **[2] Implementing Certain Tariff-Related Elements of the U.S.-EU Framework on an Agreement on Reciprocal, Fair, and Balanced Trade** (2025-09-25)
|
| 11 |
-
On August 21, 2025, the United States and the European Union announced agreement on a Framework on an Agreement on Reciprocal, Fair, and Balanced Trade (Framework Agreement). On September 5, 2025, President Trump issued Executive Order 14346, Modifying the Scope of Reciprocal Tariffs and Establishing Procedures for Implementing Trade and Security A
|
| 12 |
-
- **[3] Active Anode Material From China; Scheduling of the Final Phase of Countervailing Duty and Antidumping Duty Investigations** (2025-08-13)
|
| 13 |
-
The Commission hereby gives notice of the scheduling of the final phase of antidumping and countervailing duty investigation Nos. 701-TA-752 and 731-TA-1730 (Final) pursuant to the Tariff Act of 1930 to determine whether an industry in the United States is materially injured or threatened with material injury, or the establishment of an industry in
|
| 14 |
-
- **[4] Certain Rechargeable Batteries and Components and Packaging Thereof; Notice of a Commission Determination Not To Review an Initial Determination Terminating the Investigation as to the Last Active Respondents Based on Settlement; Request for Briefing on Remedy, the Public Interest, and Bonding** (2025-08-19)
|
| 15 |
-
Notice is hereby given that the U.S. International Trade Commission has determined not to review an initial determination ("ID") (Order No. 38) issued by the presiding administrative law judge ("ALJ") granting a joint motion filed by complainants LithiumHub, LLC of Norris, SC, Lithiumhub Technologies, LLC of Marshall, TX, and Martin Koebler of Norr
|
| 16 |
-
- **[5] Crystalline Silicon Photovoltaic Cells, Whether or Not Assembled Into Modules, From India, Indonesia, and Laos; Scheduling of the Final Phase of Antidumping and Countervailing Duty Investigations** (2026-05-13)
|
| 17 |
-
The Commission hereby gives notice of the scheduling of the final phase of antidumping and countervailing duty investigation Nos. 701-TA-772-774 and 731-TA-1756-1758 (Final) pursuant to the Tariff Act of 1930 to determine whether an industry in the United States is materially injured or threatened with material injury, or the establishment of an in
|
| 18 |
-
- **[6] Battery Import Tariff Rate 2026 — Calculate Duties** ()
|
| 19 |
-
Battery Import Tariff Rate 2026 — Calculate Duties www.tariffstool.com/tariffs-on-energy-batteries Understanding Energy & Batteries Import Duties Energy & Batteries imports to the US (HTS Chapters 85) face a base MFN rate of 3.4%, on top of which the 10% Section 122 tariff applies to all countries. Chinese solar panels face 50% Section 301 tariffs
|
| 20 |
-
- **[7] Section 301 China Tariffs: Current Rates, Lists & HTS Codes 2026** ()
|
| 21 |
-
Section 301 China Tariffs: Current Rates, Lists & HTS Codes 2026 ustariffrates.com/section-301-tariffs Home / Section 301 Tariffs Trade Policy Reference Section 301 Tariffs : China Trade Lists, Current Rates, and What They Mean for Importers Section 301 tariffs are the largest single surcharge on Chinese imports , adding 7.5% to 100% on top of your
|
| 22 |
-
- **[8] Complete Guide to Section 301 China Tariffs in 2026** ()
|
| 23 |
-
Complete Guide to Section 301 China Tariffs in 2026 gatewaylines.com/press-releases/complete-guide-to-section-301-china-tariffs-in-2026 Updated 2026 guide to US Section 301 tariffs on Chinese imports . Current duty rates for Lists 1-4A (25-100%), EVs, apparel, semiconductors, steel, aluminum. HTS code lookup, exclusion status, and free tariff calcu
|
| 24 |
-
- **[9] US Tariffs on China 2026: Section 301 & IEEPA Guide** ()
|
| 25 |
-
US Tariffs on China 2026: Section 301 & IEEPA Guide hsrates.com/en/guides/us-tariffs-on-china-2026/ The United States imposes some of the highest tariff rates in modern history on Chinese imports . As of February 2026 , importers face a patchwork of duties under Section 301 , Section 232, and the newly imposed Section 122 global tariff -- with comb
|
| 26 |
-
- **[10] U.S. Raises Section 301 Duties on Chinese ESS Batteries** ()
|
| 27 |
-
U.S. Raises Section 301 Duties on Chinese ESS Batteries battery-tech.net/battery-markets-news/u-s-raises-section-301-duties-on-chinese-ess-batteries/ The United States has announced an increase in import duties on energy storage system (ESS) batteries originating from China, raising the rate from 40.9% this year to 58.4% in 2026 . While the basic i
|
| 28 |
-
|
| 29 |
-
=== SOURCES ===
|
| 30 |
-
[1] (Federal Register) Implementing Certain Tariff-Related Elements of the Framework for a United States-Switzerland-Liechtenstein Agreement on Fair, Balanced, and Reciprocal Trade
|
| 31 |
-
date: 2025-12-18
|
| 32 |
-
url: https://www.federalregister.gov/documents/2025/12/18/2025-23316/implementing-certain-tariff-related-elements-of-the-framework-for-a-united
|
| 33 |
-
snippet: On September 5, 2025, President Trump issued Executive Order 14346 (Modifying the Scope of Reciprocal Tariffs and Establishing Procedures for Implementing Trade and Security Agreements). Executive Ord
|
| 34 |
-
|
| 35 |
-
[2] (Federal Register) Implementing Certain Tariff-Related Elements of the U.S.-EU Framework on an Agreement on Reciprocal, Fair, and Balanced Trade
|
| 36 |
-
date: 2025-09-25
|
| 37 |
-
url: https://www.federalregister.gov/documents/2025/09/25/2025-18660/implementing-certain-tariff-related-elements-of-the-us-eu-framework-on-an-agreement-on-reciprocal
|
| 38 |
-
snippet: On August 21, 2025, the United States and the European Union announced agreement on a Framework on an Agreement on Reciprocal, Fair, and Balanced Trade (Framework Agreement). On September 5, 2025, Pre
|
| 39 |
-
|
| 40 |
-
[3] (Federal Register) Active Anode Material From China; Scheduling of the Final Phase of Countervailing Duty and Antidumping Duty Investigations
|
| 41 |
-
date: 2025-08-13
|
| 42 |
-
url: https://www.federalregister.gov/documents/2025/08/13/2025-15351/active-anode-material-from-china-scheduling-of-the-final-phase-of-countervailing-duty-and
|
| 43 |
-
snippet: The Commission hereby gives notice of the scheduling of the final phase of antidumping and countervailing duty investigation Nos. 701-TA-752 and 731-TA-1730 (Final) pursuant to the Tariff Act of 1930
|
| 44 |
-
|
| 45 |
-
[4] (Federal Register) Certain Rechargeable Batteries and Components and Packaging Thereof; Notice of a Commission Determination Not To Review an Initial Determination Terminating the Investigation as to the Last Active Respondents Based on Settlement; Request for Briefing on Remedy, the Public Interest, and Bonding
|
| 46 |
-
date: 2025-08-19
|
| 47 |
-
url: https://www.federalregister.gov/documents/2025/08/19/2025-15705/certain-rechargeable-batteries-and-components-and-packaging-thereof-notice-of-a-commission
|
| 48 |
-
snippet: Notice is hereby given that the U.S. International Trade Commission has determined not to review an initial determination ("ID") (Order No. 38) issued by the presiding administrative law judge ("ALJ")
|
| 49 |
-
|
| 50 |
-
[5] (Federal Register) Crystalline Silicon Photovoltaic Cells, Whether or Not Assembled Into Modules, From India, Indonesia, and Laos; Scheduling of the Final Phase of Antidumping and Countervailing Duty Investigations
|
| 51 |
-
date: 2026-05-13
|
| 52 |
-
url: https://www.federalregister.gov/documents/2026/05/13/2026-09531/crystalline-silicon-photovoltaic-cells-whether-or-not-assembled-into-modules-from-india-indonesia
|
| 53 |
-
snippet: The Commission hereby gives notice of the scheduling of the final phase of antidumping and countervailing duty investigation Nos. 701-TA-772-774 and 731-TA-1756-1758 (Final) pursuant to the Tariff Act
|
| 54 |
-
|
| 55 |
-
[6] (Web) Battery Import Tariff Rate 2026 — Calculate Duties
|
| 56 |
-
date:
|
| 57 |
-
url: https://www.tariffstool.com/tariffs-on-energy-batteries
|
| 58 |
-
snippet: Battery Import Tariff Rate 2026 — Calculate Duties www.tariffstool.com/tariffs-on-energy-batteries Understanding Energy & Batteries Import Duties Energy & Batteries imports to the US (HTS Chapters 85)
|
| 59 |
-
|
| 60 |
-
[7] (Web) Section 301 China Tariffs: Current Rates, Lists & HTS Codes 2026
|
| 61 |
-
date:
|
| 62 |
-
url: https://ustariffrates.com/section-301-tariffs
|
| 63 |
-
snippet: Section 301 China Tariffs: Current Rates, Lists & HTS Codes 2026 ustariffrates.com/section-301-tariffs Home / Section 301 Tariffs Trade Policy Reference Section 301 Tariffs : China Trade Lists, Curren
|
| 64 |
-
|
| 65 |
-
[8] (Web) Complete Guide to Section 301 China Tariffs in 2026
|
| 66 |
-
date:
|
| 67 |
-
url: https://gatewaylines.com/press-releases/complete-guide-to-section-301-china-tariffs-in-2026
|
| 68 |
-
snippet: Complete Guide to Section 301 China Tariffs in 2026 gatewaylines.com/press-releases/complete-guide-to-section-301-china-tariffs-in-2026 Updated 2026 guide to US Section 301 tariffs on Chinese imports
|
| 69 |
-
|
| 70 |
-
[9] (Web) US Tariffs on China 2026: Section 301 & IEEPA Guide
|
| 71 |
-
date:
|
| 72 |
-
url: https://hsrates.com/en/guides/us-tariffs-on-china-2026/
|
| 73 |
-
snippet: US Tariffs on China 2026: Section 301 & IEEPA Guide hsrates.com/en/guides/us-tariffs-on-china-2026/ The United States imposes some of the highest tariff rates in modern history on Chinese imports . As
|
| 74 |
-
|
| 75 |
-
[10] (Web) U.S. Raises Section 301 Duties on Chinese ESS Batteries
|
| 76 |
-
date:
|
| 77 |
-
url: https://battery-tech.net/battery-markets-news/u-s-raises-section-301-duties-on-chinese-ess-batteries/
|
| 78 |
-
snippet: U.S. Raises Section 301 Duties on Chinese ESS Batteries battery-tech.net/battery-markets-news/u-s-raises-section-301-duties-on-chinese-ess-batteries/ The United States has announced an increase in imp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_test_report.pdf
DELETED
|
Binary file (64.6 kB)
|
|
|
app.py
CHANGED
|
@@ -2855,25 +2855,18 @@ def run_live_intel_agent(question: str, hts_df: pd.DataFrame) -> dict:
|
|
| 2855 |
"engine": "raw",
|
| 2856 |
}
|
| 2857 |
|
| 2858 |
-
#
|
| 2859 |
-
context_block = "\n
|
| 2860 |
-
f"[{s['n']}]
|
| 2861 |
-
f"URL: {s['url']}\n"
|
| 2862 |
-
f"Snippet: {s['snippet']}"
|
| 2863 |
for s in sources
|
| 2864 |
)
|
| 2865 |
system = (
|
| 2866 |
-
"You are a
|
| 2867 |
-
"
|
| 2868 |
-
"
|
| 2869 |
-
"
|
| 2870 |
-
"1) Produce 4-6 bullet points covering what's new and what it means for the user.\n"
|
| 2871 |
-
"2) Cite sources inline as [1], [2], etc. — only state facts present in the sources.\n"
|
| 2872 |
-
"3) End with a single-line **Risk summary** (Low / Medium / High) and the date "
|
| 2873 |
-
"of the most recent source used.\n"
|
| 2874 |
-
"If sources don't actually answer the question, say so honestly."
|
| 2875 |
)
|
| 2876 |
-
user = f"
|
| 2877 |
|
| 2878 |
# Try OrbitAI first (premium model)
|
| 2879 |
if is_orbitai_configured():
|
|
|
|
| 2855 |
"engine": "raw",
|
| 2856 |
}
|
| 2857 |
|
| 2858 |
+
# Compact synthesis prompt — kept short so llama3.2:3b on CPU returns in <60s
|
| 2859 |
+
context_block = "\n".join(
|
| 2860 |
+
f"[{s['n']}] {s['title']} ({s.get('date') or 'undated'}). {s['snippet']}"
|
|
|
|
|
|
|
| 2861 |
for s in sources
|
| 2862 |
)
|
| 2863 |
system = (
|
| 2864 |
+
"You are a US trade-intelligence analyst. Synthesize the sources into 3-5 "
|
| 2865 |
+
"bullet points answering the user's question. Cite sources as [1], [2], etc. "
|
| 2866 |
+
"Only state facts present in the sources. End with one line: "
|
| 2867 |
+
"'Risk: Low/Medium/High — most recent source: <date>'."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2868 |
)
|
| 2869 |
+
user = f"Question: {question}\n\nSources:\n{context_block}\n\nAnswer:"
|
| 2870 |
|
| 2871 |
# Try OrbitAI first (premium model)
|
| 2872 |
if is_orbitai_configured():
|