feat(rebrand): [DO NOT MERGE]HYBIM-728 Renaming SDK Identifiers from galileo to splunk_ao#599
Open
shuningc wants to merge 1 commit into
Open
feat(rebrand): [DO NOT MERGE]HYBIM-728 Renaming SDK Identifiers from galileo to splunk_ao#599shuningc wants to merge 1 commit into
shuningc wants to merge 1 commit into
Conversation
Comment on lines
188
to
+192
| # convert to list of galileo messages since we can't send a regular list to span input | ||
| if isinstance(input_data.input, list): | ||
| span_input = [convert_to_galileo_message(msg) for msg in input_data.input] | ||
| span_input = [convert_to_splunk_ao_message(msg) for msg in input_data.input] | ||
| else: | ||
| span_input = [convert_to_galileo_message(input_data.input)] | ||
| span_input = [convert_to_splunk_ao_message(input_data.input)] |
Contributor
There was a problem hiding this comment.
This conversion logic duplicates ResponseGeneratorSync._finalize/full_conversation, should we extract a shared input_to_messages helper so streaming and non-streaming stay in sync?
Want Baz to fix this for you? Activate Fixer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
Description:
Renames all public function, method, and module-level instance identifiers from galileo_* to splunk_ao_*, and renames the GALILEO_HEADER_PREFIX constant to
SPLUNK_AO_HEADER_PREFIX. All call sites, imports, docstrings, tests, READMEs, and AGENTS.md are updated across src/, tests/, galileo-adk/, and
galileo-a2a/.
What was renamed
Functions / methods / instances
galileo_context → splunk_ao_context
galileo_dataset_context → splunk_ao_dataset_context
galileo_logging_enabled → splunk_ao_logging_enabled
convert_to_galileo_message → convert_to_splunk_ao_message
get_galileo_args → get_splunk_ao_args
add_galileo_span_processor → add_splunk_ao_span_processor
start_galileo_span → start_splunk_ao_span
_galileo_wrapper → _splunk_ao_wrapper
_with_galileo → _with_splunk_ao
add_galileo_custom_span → add_splunk_ao_custom_span
galileo_retriever → splunk_ao_retriever
_galileo_is_retriever → _splunk_ao_is_retriever
convert_adk_content_to_galileo_messages → convert_adk_content_to_splunk_ao_messages
convert_adk_tools_to_galileo_format → convert_adk_tools_to_splunk_ao_format
Constants
GALILEO_HEADER_PREFIX → SPLUNK_AO_HEADER_PREFIX (wire value "X-Galileo" unchanged)
Intentionally left unchanged
Class names (GalileoLogger, GalileoCallback, etc.) — deferred to follow-up
Environment variable strings (GALILEO_API_KEY, GALILEO_PROJECT, etc.) — user-facing config, requires separate deprecation
Wire header values (X-Galileo-Trace-ID, X-Galileo-Parent-ID, X-Galileo-SDK) — backend must be updated first
galileo_core imports — external package, out of scope
src/galileo/resources/ — auto-generated from OpenAPI spec, never edited manually
Generated description
Below is a concise technical summary of the changes proposed in this PR:
Rename the decorator-based context helpers, OpenAI wrapper instrumentation, Agent Control resolution, and tracing utilities to their new
splunk_ao_identifiers so documentation, telemetry toggles, and exported SDK APIs stay consistent with the renamed public surface. Update the Galileo ADK retriever decorator, converter helpers, span processor wiring, and related docs/tests to referencesplunk_ao_so tool spans, headers, and README guidance continue to work under the new names.splunk_ao_*so FunctionTool retriever spans, message conversion, and documentation align with the new naming convention.Modified files (13)
Latest Contributors(0)
galileo_context/dataset helpers, tracing utilities, OpenAI wrapper plumbing, header constants, span processors, and supporting telemetry toggles with theirsplunk_ao_*counterparts across the SDK, docs, and tests so the renamed public API continues to control logging, tracing, and Agent Control target resolution consistently.Modified files (28)
Latest Contributors(0)
Modified files (2)
Latest Contributors(0)