Commit 853d8cd
Gemini Testing via VCR (#1770)
* Delete old replay files
* Replace Gemini test setup with VCR
* Improve behavior of Gemini tests
* Add additional logic to VCR setup
* Record new Gemini responses with VCR
* Improved megalinter filtering
* User helper to drop recorded headers
* Clean up comment
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>1 parent 5734092 commit 853d8cd
104 files changed
Lines changed: 2667 additions & 73361 deletions
File tree
- tests
- mlmodel_gemini
- replays
- test_embeddings_error
- test_embeddings_invalid_request_error_invalid_model_with_token_count
- test_embeddings_invalid_request_error_invalid_model
- test_embeddings_wrong_api_key_error
- test_embeddings
- test_gemini_embedding_disabled_ai_monitoring_events
- test_gemini_embedding_no_content
- test_gemini_embedding_outside_txn
- test_gemini_embedding_with_token_count
- test_gemini_embedding
- test_text_generation_error
- test_text_generation_invalid_request_error_invalid_model_with_token_count
- test_text_generation_wrong_api_key_error
- test_text_generation
- test_gemini_multi_text_generation
- test_gemini_text_generation_ai_monitoring_disabled
- test_gemini_text_generation_no_content
- test_gemini_text_generation_no_llm_metadata
- test_gemini_text_generation_outside_txn
- test_gemini_text_generation_with_llm_metadata
- test_gemini_text_generation_with_token_count
- test_gemini_text_generation
- testing_support/fixture
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
29 | 37 | | |
30 | 38 | | |
31 | 39 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
49 | | - | |
| 50 | + | |
50 | 51 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 52 | + | |
56 | 53 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 54 | + | |
| 55 | + | |
62 | 56 | | |
63 | | - | |
| 57 | + | |
64 | 58 | | |
65 | 59 | | |
66 | 60 | | |
67 | 61 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 62 | + | |
74 | 63 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 64 | | |
79 | 65 | | |
80 | 66 | | |
81 | 67 | | |
82 | | - | |
83 | 68 | | |
84 | 69 | | |
85 | 70 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | 71 | | |
105 | 72 | | |
106 | 73 | | |
| |||
0 commit comments