fix(jina): remove encoding_format for jina embedding - #1943
Conversation
WalkthroughSets EncodingFormat to an empty string in ConvertEmbeddingRequest for Jina embedding requests; no other logic or control flow changes. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Client
participant Adaptor as Jina Adaptor
participant JinaAPI as Jina Embeddings API
Client->>Adaptor: ConvertEmbeddingRequest(req)
Note over Adaptor: Clear unsupported field<br/>req.EncodingFormat = ""
Adaptor->>JinaAPI: POST /embeddings (without encoding_format)
JinaAPI-->>Adaptor: Embedding response
Adaptor-->>Client: Return response
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
fix(jina): remove encoding_format for jina embedding
…preoutput-failover fix(openai): 修复 Responses 流式失败前置事件导致无法 failover
close #1941
Summary by CodeRabbit