agent-starter-pack 0.0.6b0__py3-none-any.whl → 0.0.7b0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of agent-starter-pack might be problematic. Click here for more details.
- {agent_starter_pack-0.0.6b0.dist-info → agent_starter_pack-0.0.7b0.dist-info}/METADATA +1 -1
- {agent_starter_pack-0.0.6b0.dist-info → agent_starter_pack-0.0.7b0.dist-info}/RECORD +6 -6
- src/frontends/streamlit/frontend/utils/title_summary.py +17 -8
- {agent_starter_pack-0.0.6b0.dist-info → agent_starter_pack-0.0.7b0.dist-info}/WHEEL +0 -0
- {agent_starter_pack-0.0.6b0.dist-info → agent_starter_pack-0.0.7b0.dist-info}/entry_points.txt +0 -0
- {agent_starter_pack-0.0.6b0.dist-info → agent_starter_pack-0.0.7b0.dist-info}/licenses/LICENSE +0 -0
|
@@ -135,7 +135,7 @@ src/frontends/streamlit/frontend/utils/local_chat_history.py,sha256=9wc8L8j4tk10
|
|
|
135
135
|
src/frontends/streamlit/frontend/utils/message_editing.py,sha256=YWoPe2KeWMuL3YVTm0am6MK3kzjEIYVmdkdwTQpmGdQ,2263
|
|
136
136
|
src/frontends/streamlit/frontend/utils/multimodal_utils.py,sha256=v6YbCkz_YcnEo-9YvRjwBNt0SzU4M39bYxJGmKk69vE,7313
|
|
137
137
|
src/frontends/streamlit/frontend/utils/stream_handler.py,sha256=J7MMsOR2GvDEsyJbsv8VQeZbMs7mNySrclZNfuzsZD4,11578
|
|
138
|
-
src/frontends/streamlit/frontend/utils/title_summary.py,sha256=
|
|
138
|
+
src/frontends/streamlit/frontend/utils/title_summary.py,sha256=Po8FY1pfIc9rnWK8mCW76LwtQJANiDXV7GU9TXPXno4,2859
|
|
139
139
|
src/resources/containers/data_processing/Dockerfile,sha256=uXjqDiSrr7YpoX-vtzaIJIVXZ2qeUpu1Nzju9qWZ9oI,859
|
|
140
140
|
src/resources/locks/uv-agentic_rag_vertexai_search-agent_engine.lock,sha256=6muWlgt4dduqGDiGUvTg-d2zzY5rgW9zP9DbDnt3krc,474353
|
|
141
141
|
src/resources/locks/uv-agentic_rag_vertexai_search-cloud_run.lock,sha256=ViUzp35RGWZiiQvvVi6ntFTT-bEbHg4_HDDQznD4ML8,756574
|
|
@@ -150,8 +150,8 @@ src/resources/setup_cicd/providers.tf,sha256=Km4z6IJt7x7PLaa0kyZbBrO2m3lpuIJZFD5
|
|
|
150
150
|
src/utils/generate_locks.py,sha256=xu5IAhGGBPkVQGSJX4kk7_JNDwWJUEaXAHbmaQIohbg,4386
|
|
151
151
|
src/utils/lock_utils.py,sha256=plw3vWkRViCMxBK3IrLRHtF_I0kbbP043T9KIYxcb20,2423
|
|
152
152
|
src/utils/watch_and_rebuild.py,sha256=IdbTLReYknTXXu5KWPz3sc7Zg5HTEMS5UVlMSnuhs5E,6067
|
|
153
|
-
agent_starter_pack-0.0.
|
|
154
|
-
agent_starter_pack-0.0.
|
|
155
|
-
agent_starter_pack-0.0.
|
|
156
|
-
agent_starter_pack-0.0.
|
|
157
|
-
agent_starter_pack-0.0.
|
|
153
|
+
agent_starter_pack-0.0.7b0.dist-info/METADATA,sha256=xxRQaJNJXMnflrDzzJ0USRzAVFHsY-ICYEJm5e6j7PQ,6805
|
|
154
|
+
agent_starter_pack-0.0.7b0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
155
|
+
agent_starter_pack-0.0.7b0.dist-info/entry_points.txt,sha256=U7uCxR7YulIhZ0L8R8Hui0Bsy6J7oyESBeDYJYMrQjA,56
|
|
156
|
+
agent_starter_pack-0.0.7b0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
157
|
+
agent_starter_pack-0.0.7b0.dist-info/RECORD,,
|
|
@@ -19,14 +19,23 @@ from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder
|
|
|
19
19
|
from langchain_google_vertexai import ChatVertexAI
|
|
20
20
|
|
|
21
21
|
# Get default project from credentials
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
)
|
|
22
|
+
try:
|
|
23
|
+
_, project_id = google.auth.default()
|
|
24
|
+
|
|
25
|
+
llm = ChatVertexAI(
|
|
26
|
+
model_name="gemini-2.0-flash-001",
|
|
27
|
+
temperature=0,
|
|
28
|
+
project=project_id,
|
|
29
|
+
location=os.getenv("LOCATION", "us-central1"),
|
|
30
|
+
)
|
|
31
|
+
except Exception:
|
|
32
|
+
# Fallback to a dummy LLM that just returns "conversation"
|
|
33
|
+
print("WARNING: Failed to initialize Vertex AI. Using dummy LLM instead.")
|
|
34
|
+
class DummyLLM:
|
|
35
|
+
def invoke(self, *args, **kwargs):
|
|
36
|
+
return {"content": "conversation"}
|
|
37
|
+
|
|
38
|
+
llm = DummyLLM()
|
|
30
39
|
|
|
31
40
|
title_template = ChatPromptTemplate.from_messages(
|
|
32
41
|
[
|
|
File without changes
|
{agent_starter_pack-0.0.6b0.dist-info → agent_starter_pack-0.0.7b0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{agent_starter_pack-0.0.6b0.dist-info → agent_starter_pack-0.0.7b0.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|