File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -68,10 +68,10 @@ type AgenticMessage struct {
6868type AgenticResponseMeta struct {
6969 TokenUsage * TokenUsage
7070
71- OpenAIExtensions * openai.ResponseMeta
72- GeminiExtensions * gemini.ResponseMeta
73- ClaudeExtensions * claude.MessageMeta
74- Extensions any
71+ OpenAIExtension * openai.ResponseMetaExtension
72+ GeminiExtension * gemini.ResponseMetaExtension
73+ ClaudeExtension * claude.ResponseMetaExtension
74+ Extension any
7575}
7676
7777type StreamMeta struct {
@@ -166,9 +166,9 @@ type UserInputFile struct {
166166type AssistantGenText struct {
167167 Text string
168168
169- OpenAIExtensions * openai.OutputText
170- ClaudeExtensions * claude.TextBlock
171- Extensions any
169+ OpenAIExtension * openai.AssistantGenTextExtension
170+ ClaudeExtension * claude.AssistantGenTextExtension
171+ Extension any
172172
173173 // Extra stores additional information.
174174 Extra map [string ]any
Original file line number Diff line number Diff line change 1616
1717package claude
1818
19- type TextBlock struct {
19+ type AssistantGenTextExtension struct {
2020 Citations []* TextCitation `json:"citations"`
2121}
2222
Original file line number Diff line number Diff line change 1616
1717package claude
1818
19- type MessageMeta struct {
19+ type ResponseMetaExtension struct {
2020 ID string `json:"id"`
2121 StopReason string `json:"stop_reason"`
2222}
Original file line number Diff line number Diff line change 1616
1717package gemini
1818
19- type ResponseMeta struct {
19+ type ResponseMetaExtension struct {
2020 ID string `json:"id"`
2121 FinishReason string `json:"finish_reason"`
2222 GroundingMeta * GroundingMetadata `json:"grounding_meta,omitempty"`
Original file line number Diff line number Diff line change 1616
1717package openai
1818
19- type OutputText struct {
19+ type AssistantGenTextExtension struct {
2020 ItemID string `json:"item_id"`
2121 Annotations []* TextAnnotation `json:"annotations"`
2222}
Original file line number Diff line number Diff line change 1616
1717package openai
1818
19- type ResponseMeta struct {
19+ type ResponseMetaExtension struct {
2020 ID string `json:"id"`
2121 Status string `json:"status"`
2222 Error * ResponseError `json:"error,omitempty"`
You can’t perform that action at this time.
0 commit comments