a16z-infra / a16z-infra/ai-town

我convex对ollama的api的访问一直被禁止

オープン
#251 コメント 10 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
10.5k
フォーク
1.2k
平均マージ
1日 1時間
マージ済み PR(30日)
2

説明

[GIN] 2024/09/16 - 13:05:29 | 403 | 39.122µs | 127.0.0.1 | POST "/api/embeddings"
9/16/2024, 12:54:28 PM [CONVEX A(aiTown/agentOperations:agentGenerateMessage)] [LOG] 'Sending data for embedding: {"model":"mxbai-embed-large","prompt":"Alice is talking to Bob"}'
9/16/2024, 12:54:29 PM [CONVEX A(aiTown/agentOperations:agentGenerateMessage)] Uncaught SyntaxError: Unexpected end of JSON input
at parse [as parse] ()
at json [as json] (../../udf-runtime/src/23_response.ts:217:2)
at async (../../convex/util/llm.ts:658:5)
at async retryWithBackoff (../../convex/util/llm.ts:250:22)
at async ollamaFetchEmbedding (../../convex/util/llm.ts:645:21)
at async (../../convex/util/llm.ts:153:6)
at async Promise.all (index 0)all [as all] ()
at async fetchEmbeddingBatch (../../convex/util/llm.ts:152:18)
at async fetchBatch (../../convex/agent/embeddingsCache.ts:29:17)
at async fetch (../../convex/agent/embeddingsCache.ts:10:16)
已经设置了Tunnelmole的转发,但是访问一直被禁止

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。